S-Drive Knowledge Articles

S-URL - How to update your self-signed certificate

When you are using S-URL, you have a Connected App that uses a Self-Signed Certificate. These certificates expire. This page tells you how to update your certificate.

For initial S-URL Setup, see S-URL and Public Share Setup


To update your certificate, you’ll need to do the following steps, which are detailed below.

Create a new self-signed certificate

  1. Go to Setup > Security > Certificate and Key Management.

  2. Click on Create Self-Signed Certificate.

  3. Give it a label and the unique name. If you delete the expired certificate first, you can use the same name you used before. Otherwise give it a new name.

  4. Make sure the Exportable Private Key is checked.

    image-20220427-152053.png
  5. Click Save.

  6. Click on the certificate you just created.

  7. Click Download Certificate

    image-20220427-152105.png


Update the Custom Setting with the certificate name if needed

If you gave your certificate a new name, you need to update the custom setting where it’s stored. If you deleted the old certificate and are using the same name, skip this step.

  • Go to Setup-->Custom Settings

  • Find SDriveConfig and click Manage next to it

  • Click Edit next to SUrl_Community_Certificate

  • Enter the new name of your certificate

Upload the new certificate to your Connected App

  • Go to Setup-->App Manager

  • Find your SURL connected app. It probably has SURL in the name and the App Type is Connected

  • Click the down arrow next to it and click Edit

    image-20220427-152933.png
  • Click Choose a File

    image-20220427-153153.png


  • Upload the certificate you downloaded in the first step

  • Click Save

  • You’ll get a message saying it can take up to 10 minutes. Click Continue

Your certificate is now updated.