How Can I Get an SSL Certificate for My Application?March 27, 2014

 

In this KB

  • Introduction to SSL
  • SSL Management
  • Creating a Certificate Signing Request (CSR)
  • Downloading and purchasing the certificate
  • Verifying installed certificate

 

SSL provides a secure way to communicate over the internet. In this guide, we are going to explain how you can obtain and deploy an SSL certificate for your site.

If you already own a certificate for your application (so you don’t require a new one), please follow the process described in this guide.

Notes:

Step 1: Go to Application Management

Log into the Cloudways Platform with your credentials. Click on Applications in the top menu bar. Then, click on your target application from the list.

Application Management

Step 2: SSL Management

Under the Application Management area, click on the SSL Certificate section, choose Custom Certificate and then click on Create CSR.

Create CSR

Step 3: Creating a Certificate Signing Request (CSR)

A CSR  is a small file in which you provide information about the certificate to be created. SSL certificate vendors need it to generate the certificate. Here’s how you can create it for both single and multiple domains (SAN):

For single domain only

  • Select your country, e.g. United States
  • Write down your State, e.g. Florida
  • Write down your Locality, e.g. St. Lucie
  • Write down your Organization Name, e.g. Acme Corporation
  • Write down your Organizational Unit, e.g. Rocket Research
  • Write down your email address, e.g. me@acme.com
  • Write down your domain name, e.g. www.acme.com
  • Click on the Submit button

Domain name is the most important question and must match the full domain name of your application, e.g. www.acme.com.

Csr info

For Multiple Domains (SAN)

If you want to secure multiple domains (fully qualified domain names) for your web application, check the SAN button and click on Add Domain. Upon doing so, please enter the information as explained below:

  • Select your country, e.g. United States
  • Write down your State, e.g. Florida
  • Write down your Locality, e.g. St. Lucie
  • Write down your Organization Name, e.g. Acme Corporation
  • Write down your Organizational Unit, e.g. Rocket Research
  • Write down your email address, e.g. me@acme.com
  • Write down your domain name, e.g. www.acme.com
  • Write down your second domain name, e.g. www.example2.com

Once you are done adding the domains, please click the Submit” button.

SAN CSR

Step 4: Download the CSR and Buy the Certificate

Click on the Download CSR button to download the CSR.

Along with the CSR, you need to buy a certificate from any certificate vendor (like godaddy.com, rapidssl.com, comodo.com, namecheap.com …) since Cloudways doesn’t sell certificates. During the purchase process, you will be asked for the server type (or a similar question). Just reply with apache+mod_ssl.

If you need to change any of the details provided in the CSR, simply click on Re-create CSR button to recreate it.

CSR install

Step 5: Install the Certificate

Once you click on the Install Certificate button, you will be presented with a form. Here, you can paste the public certificate and the certificate chain provided by your certificate vendor.

The public certificate will be usually provided in a .crt or .cer file (i.e. yourdomain.crt / yourdomain.cer).

The certificate chain, on the other hand, will generally be in a .ca or .ca-bundle file (i.e. yourdomain.ca / yourdomain.ca-bundle).

Note that this can vary as there are many different certificate providers and quite a lot of formats/standards. Contact support in case of doubt.

Click on the Submit button when done.

Submit CSR

Step 6: Verifying the Installed Certificate

Open your favorite browser and enter the full domain name of your application (with https at the beginning to force secure browsing).

If you click on the padlock, you should be able to verify all the information you provided via the CSR as well as the validity of the certificate.

Verify SSL Certificate

Have Questions? You can start a discussion on Community Forum

Comments are closed.

Still need help? Our support team is waiting to help you. Ask them now