Extending Certificate Expiry

Signing your Tizen app with a certificate profile is mandatory to install it on a device or submit it to Galaxy 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 that the app has not been tampered with by others since its publication.

During the life of a Tizen app, an author or distributor certificate may expire. Tizen Studio does not offer any direct mechanism to affect the expiry date of an existing author or distributor certificate in an existing certificate profile. However, you can replace the expired distributor certificate in a certificate profile (see Replace the expired distributor certificate for more information). Also, you can extend the expiry date of an author certificate by creating a new certificate profile using the existing author certificate (see Extend author certificate expiry date for more information).

Replace the expired distributor certificate

You can replace an expired distributor certificate in your certificate profile. Do the following:

  1. 1.

    From Tizen Studio, launch the Certificate Manager. Click the icon or select Tools > Certificate Manager.

  2. 2.

    If the Migration for Certificate Profile window opens, click Cancel.

  3. 3.

    To update a certificate profile, click +.

  4. 4.

    Select Samsung. If you do not see the Samsung option, close the Certificate Manager and install the Samsung Certificate Extension using the Package Manager. Then, re-launch Tizen Studio and go back to Step 1.

  5. 5.

    Select the device type and click Next.

  6. 6.

    Select the existing certificate profile that contains the expired distributor certificate and click Next.

  7. 7.

    When asked to remove the author certificate, click No.

  8. 8.

    Select Create a new distributor certificate and click Next.

  9. 9.

    Enter a password and DUID(s) then click Next.

  10. 10.

    Sign in to your Samsung account.

  11. 11.

    Click Finish. You have successfully replaced the expired distributor certificate in an existing certificate profile.

  12. 12.

    Click OK.

Your certificate profile has been updated with a new unexpired distributor certificate.

Extend author certificate 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.