Note: Your SSL certificate should be issued for the custom domain of your CDN resource, e.g., cdn.example.com. You can use a wildcard certificate, which allows you to protect all subdomains (*.example.com).
1. Go to SSL certificates and click Add SSL certificate.
A new page will open.
2. Enter the following details of the certificate that you purchased from the Certificate Authority:
For help inserting the certificate chain and key contents, explore our guide.
3. Uncheck the box if the certificate is not signed by the trusted CA.
4. Click Create SSL Certificate.
That’s it. The certificate will be added to the list of certificates in the SSL Certificates section.
Note: Attach the entry to the related CDN resource after uploading your SSL certificate data.
1. Open the certificate file in PEM format (.pem, .crt, or .cer) using a text editor like Notepad.
2. Copy and paste the certificate chain in this order: personal certificate, intermediate CA, root CA.
3. All the contents of the certificate must be inserted into the Certificate field, including the tags -----BEGIN CERTIFICATE-----
and -----END CERTIFICATE-----
.
4. The certificate chain must be inserted without blank lines. Here's an example of how it should look:
5. Add a new line at the end of the certificate chain.
6. Open the private key file (.key) using a text editor.
7. Copy and paste all of its contents into the Private key field, including the tags -----BEGIN RSA PRIVATE KEY-----
and -----END RSA PRIVATE KEY-----
.
You can attach the SSL certificate to your CDN resource either:
1. Follow steps 1–3 of the guide Create a CDN resource for static assets only until the “Custom domain” field is filled in.
2. In the Custom domain section, enter your desired custom domain name—e.g., cdn.example.com—for your CDN resource.
3. In the SSL section, turn on the toggle for Enable HTTPS and select Add or select your own SSL certificate.
4. If you’ve already uploaded the SSL certificate to your account, select the certificate from the list and continue the CDN resource creation.
5. Continue with the creation of your CDN resource.
If you haven’t yet added a certificate or want to upload a new one for this resource, click Add SSL certificate. Specify your SSL certificate’s data in the pop-up window. Review our guide for help inserting the certificate and key contents. After pasting the data, сlick Add SSL certificate.
1. Select the resource you want to configure in the CDN resources section.
2. In the navigation panel, under the General section, click SSL and enable the Enable HTTPS switch.
3. Select Add or select your own SSL certificate. If you’ve already uploaded the SSL certificate to your account, select the certificate from the list and save changes.
If you haven’t yet added a certificate or want to upload a new one for this resource, click Add SSL certificate. Specify your SSL certificate’s data in the pop-up window. Review our guide for help inserting the certificate and key contents. After pasting the data, сlick Add SSL certificate.
The certificate will be displayed in the SSL certificates section in the Gcore Customer Portal. This page contains a table that lists your personal certificates and associated information, such as the ID, name, CDN resources connected to the certificate, and expiration date.
There is no way to change a certificate's data once the certificate has been added. When the certificate is nearing its expiration date, follow these steps:
1. Go to the SSL Certificates page and upload a new certificate.
2. Go to the settings of the CDN resource you want to configure.
3. Select the new certificate from the dropdown menu in the SSL section.
4. Click Save changes and allow at least fifteen minutes for the changes to take effect.
5. To verify that the SSL certificate has been correctly installed and bound to the resource, enter your CNAME into the browser (e.g., https://example.com
). Click the lock icon in the address bar, navigate to Connection is secure, and click Certificate is valid.
Compare the displayed certificate data with the new certificate data you just added. If the settings match, you can safely delete the old certificate from the SSL certificates page.
Note: Delete the old certificate only after ensuring your content is delivered using the new certificate. If you delete the old certificate too soon, content delivery will be interrupted.
When your added certificates are about to expire, a notification is displayed in your account and is sent to the email addresses of the administrator and engineer. Users are notified by email:
In addition, when you log in to your account during the fourteen days before certificate expiration or any time after that, you will see a reminder. The SSL certificates in the side panel will also be marked with an exclamation point if there are expired certificates or certificates that will expire within the next fourteen days.
In the certificates , warning signs will appear next to the specific certificates that need attention.
If the certificate has already expired, a red exclamation point will be shown.
If the certificate is due to expire in fourteen days or fewer, a yellow warning triangle will be shown.
To delete a certificate, click the three dots next to the certificate, then click Delete.
Note: It is not possible to delete certificates that are currently in use by a CDN resource. If you want to delete such a certificate, you must first unattach it. To do so, open the SSL section in the CDN resource settings and turn off the Enable HTTPS option.
Was this article helpful?
Learn more about our next-gen CDN