Help Docs Security Overview SSL Certificates Guide Installing an SSL Certificate in Linux Command Line

Installing an SSL Certificate in Linux Command Line

Secure your site with an SSL certificate. Follow our step-by-step guide to obtain and install a Liquid Web SSL on a core or self-managed Linux server.

SSL certificates are the first step in providing security for your web site users. They allow the server to encrypt information passed between the client and server to protect sensitive information from unauthorized access during transmission. For more information about SSLs, see What Is an SSL Certificate?

There are many different methods for obtaining and installing SSL certificates. If you have a self or core-managed Linux server, you can follow these steps to obtain and install the SSL certificate from Liquid Web.

  1. Generate a Certificate Signing Request.
  2. Order the SSL certificate.
  3. Verify the SSL certificate.

Now that you have a fully verified SSL certificate, you are ready to complete the process by installing the certificate on your Linux server.

  1. Go to the SSL directory on the server and create files for the cert and cabundle (changing the date at the end to the current date):
touch domain.com.crt.20130720
touch domain.com.cabundle.20130720
  1. Put the cert and cabundle for the SSL into those files. If the https virtualhost is already set up and the cert is symlinked, you should now just have to recreate a few symlinks – from within the correct directories, just run commands like:
ln -s -f domain.com.csr.20130620 domain.com.csr
ln -s domain.com.crt.20130620 domain.com.crt
ln -s domain.com.cabundle.20130620 domain.com.cabundle
ln -s domain.com.key.20130620 domain.com.key
  1. Restart Apache and it should load up the new cert instead of the old one.
Was this article helpful?