If you would like to purchase an SSL certificate from another company, make sure to first create a CSR at DreamHost before requesting it from your chosen Certificate Authority. That company will then be able to use this CSR to generate your SSL certificate.
If you already have a private key, Certificate Signing Request (CSR), intermediate certificate, and signed SSL certificate (in PEM format), you can install them yourself after setting up an SSL certificate for the domain.
If you already have a signed SSL certificate but do NOT have the corresponding private key, you won't be able install it on DreamHost's servers. Also, do NOT create a private key that is password protected, as the DreamHost panel does not accept these.
Installing the certificate
All of the following commands must be ran on the server where your website is hosted.
- Navigate to the Secure Hosting page. A list of your domains display.
- To the right of your domain, click the Add button.
- At the top, click the tab titled 'Import a Certificate'.
- Next click the Select This Option button.
- The next page displays four empty boxes.
- Certificate Signing Request
- Private Key
- Intermediate Certificate
Important note about the private key header and footer
If your private key was created with PKCS #8 syntax, the header and footer appear like this:
-----BEGIN PRIVATE KEY----- ... -----END PRIVATE KEY-----
In order for the panel to accep this key, you must add RSA to both the header and footer. For example:
-----BEGIN RSA PRIVATE KEY----- ... -----END RSA PRIVATE KEY-----
The panel will then accept your key.
- When finished, click the Proceed with Certificate Configuration button.
- If there aren't any errors, the new certificate is pushed out to the live servers within 15 minutes.
- Back on the Secure Hosting page, you can see the certificate now shows as 'Imported'.
- Load your site in a browser using https.
- You can see the padlock icon at the beginning of the URL; if you click on the icon, you’ll see that the cert is verified and active.
If you see the error message "key does not match cert", that means that the SSL certificate you're trying to install does not match the private key that is currently installed. This typically means that the Certificate Signing Request that was used to purchase the SSL certificate was not generated with the private key that is in the panel.
- Adding an SSL certificate overview
- Adding a free Let's Encrypt certificate
- Let's Encrypt SSL certificate overview
- SSL certificates overview
- What do I need from DreamHost before purchasing a third party SSL certificate?
- How do I purchase a professionally-signed SSL certificate?
- How do I add a free self-signed SSL certificate?