Extending Certificate Expiry

Signing your Tizen app with a certificate profile is mandatory to install it on a device or submit it to Galaxy App store. A certificate profile is a combination of author and distributor certificates used for signing. The signature verifies the source (author or developer) of the application and validates it is not tampered by others since its publication.

During the life of a Tizen app, we might face a situation where an author certificate has expired. In addition, currently Tizen Studio directly does not offer any direct mechanism to extend expiry date of author certificate.

The possible solution is: Creating new Certificate profile using existing author certificate which will extend the expiry date.

Let’s get into the details of extending author certificate expiry date.

Steps:

  1. Author certificate expiration date can be checked from Tizen Certificate Manager. From Certificate Profile list, please select your desired Certificate Profile. Expiry data will appear like below,

  2. In order to extend our existing author certificate’s expiry date, we will create a new certificate profile. Click on ‘plus’ icon to create new certificate profile.

  3. Select ‘Samsung’ as certificate profile type.

  4. Select ‘Mobile/Wearable’ as device type and click on Next.

  5. This window will prompt you to input new certificate profile name. Give new certificate profile name and click on Next button.

  6. Select ‘Create a new Author Certificate’ and click on ‘Advanced options’. Marking on ‘Use an existing author certificate’ will enable options to upload your old author certificate. It will create a new author certificate using the same RSA key as in an existing certificate.

    Note

    If you select ‘Select an existing author certificate’, it will not extend expiry date of that author certificate; rather it would import that author certificate only.

  7. Clicking on ‘Browse’ will enable you to select your existing author certificates. Please select your appropriate author certificate’s ‘.p12’ file.

  8. After selecting existing author certificate, please enter your password (password you used to create this author certificate) and click on Next. You must enter the password for the author certificate, Otherwise It is not possible to Import the author certificate or to extend the expiration date.

    Note

    Currently there is no way to reset Tizen author certificate password.

  9. Click on ‘Modify’ button if you want to change ‘author name’. Unmark the ‘Apply the same password for the distributor certificate’ if you don’t want to use same password for distributor certificate. By default it will be selected. Click on Next.

  10. Samsung Account login option will be shown, click on OK to proceed.

  11. Sign into your Samsung Account using your credentials.

  12. Congratulations! By this process, your author certificate’s expiry date is extended.

  13. An option will be appeared to select existing distributor certificate or create new one.

  14. We are proceeding selecting ‘Select an existing distributor certificate’. An existing distributor certificate is selected by clicking on ‘Browse’ button and giving password for that distributor certificate. And finally click on ‘Finish’ button.

    Note

    To create a new distributor certificate, please check this.

  15. Now if you check the Certificate Profile list you would find your newly created certificate profile. After selecting your newly created certificate profile, you will be able to see extended expiry date.

    In this process, Samsung will issue a new author certificate for you using the same RSA key as in existing author certificate. You will be able to update your existing app on Galaxy store if your current author certificate is expired already.