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. From Tizen Studio, launch the Certificate Manager. Click the ![](/sd2_images/gear/content/1 CertificateManager_Icon.png) icon or select Tools > Certificate Manager.

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

  3. To update a certificate profile, click +.

    ![](/sd2_images/gear/content/2 CertificateManager_UpdateProfile.png)

  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.

    ![](/sd2_images/gear/content/3 CertificateManager_ProfileType.png)

  5. Select the device type and click Next.

    ![](/sd2_images/gear/content/4 CertificateManager_DeviceType.png)

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

    ![](/sd2_images/gear/content/5 CertificateManager_SelectExistingProfile.png)

  7. When asked to remove the author certificate, click No.

    ![](/sd2_images/gear/content/6 CertificateManager_RemoveAuthorCertificate.png)

  8. Select Create a new distributor certificate and click Next.

    ![](/sd2_images/gear/content/7 CertificateManager_CreateNewDistributorCert.png)

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

    ![](/sd2_images/gear/content/8 CertificateManager_AddPasswordDUID.png)

  10. Sign in to your Samsung account.

    ![](/sd2_images/gear/content/9 CertificateManager_SignIn1.png)

    ![](/sd2_images/gear/content/10 CertificateManager_SignIn2.png)

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

    ![](/sd2_images/gear/content/11 CertificateManager_Finish.png)

  12. Click OK.

    ![](/sd2_images/gear/content/12 CertificateManager_Finish2.png)

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

![](/sd2_images/gear/content/13 CertificateManager_UpdatedDistributorCertificate.png)

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.

    ![](/sd2_images/gear/content/3.SelectSamsung asCertificateProfileType.PNG)

  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.

![](/sd2_images/gear/content/6.UseAdvanced optionsandmarkUseanexistingauthorcertificate.PNG)
  1. Clicking on ‘Browse’ will enable you to select your existing author certificates. Please select your appropriate author certificate’s ‘.p12’ file.

  2. 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.

![](/sd2_images/gear/content/8.AfterSelectinggiveyourpassword ofexistingauthorcertificate.PNG)
  1. 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.

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

  3. Sign into your Samsung Account using your credentials.

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

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

  6. 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.

![](/sd2_images/gear/content/14.Usingexistingdistributorcertificate.PNG)
  1. 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.