How to Setup Shared SSL

shared ssl

KeyCDN currently offers 3 different ways for you to secure your CDN assets with an SSL certificate. One way, which we’ll discuss in this post, is through the use of KeyCDN’s Shared SSL option. This is certainly the easiest and quickest way to start delivering assets over HTTPS. Two other options that are offered include:

You can use any of the 3 SSL options free of charge (for custom SSL you just need to bring your own certificate). However, if you simply want to start delivering assets over HTTPS as quickly as possible and with very minimal configuration, then Shared SSL is the option for you.

How to Enable Shared SSL

Enabling Shared SSL in your KeyCDN dashboard is easy. Simply navigate to your zone’s advanced settings, scroll down to the SSL section and select the “shared” option.

enable shared ssl

Once you’ve selected this option, simply save your settings and wait until your zone is done re-deploying (about 5 minutes). You should now be able to access your static assets using the HTTPS version of your KeyCDN Zone URL (e.g. https://lorem-1b6c.kxcdn.com/path/to/your/img.jpg).

Advantages / Disadvantages of Shared SSL

There are a couple of advantages and disadvantages to using Shared SSL. Depending upon your requirements, you may decide that Shared SSL is the right choice for you or you may want to use one of our other two SSL options.

Advantages

  • Extremely easy to setup (no need to configure a Zonealias or set a CNAME record)
  • No additional DNS lookups required

Disadvantages

  • Your CDN URLs aren’t customized (e.g. https://cdn.yourwebsite.com/)
  • Will require a change in URLs if you decide to use a different zone or change CDN providers

Additional Considerations When Using Shared SSL

As you’ve probably gathered from this Shared SSL setup guide, configuring Shared SSL is extremely straightforward. One thing to be aware of however when using Shared SSL is that the Zone URL (i.e. the kxcdn.com domain) only works for HTTPS if Shared SSL is enabled. In other words, if you enable the Let’s Encrypt or Custom SSL options, your CDN assets will no longer be accessible via https://lorem-1c6b.kxcdn.com for example.

If once one of the other 2 SSL options are enabled, you’ll need to start using a Zonealias to call your CDN assets, otherwise, you’ll receive a CDN error code. Additionally, when integrating a Shared SSL zone with your website, remember to use your Zone URL (provided in the KeyCDN dashboard) and in most cases, precede it with the https:// protocol. Check out our full list of integration guides for specific instructions on how to integrate KeyCDN with your CMS or framework.

Leave A Comment?