Installing an SSL Certificate
Overview
If you need an SSL certificate, you can either purchase one from (mt) Media Temple and we will handle the installation for you, or install a third-party certificate yourself.
You can purchase a certificate from any certifying authority that provides Apache certificates - some examples are GoDaddy, Verisign, and Thawte. Regardless of which provider you choose, the basic steps for your (mt) Media Temple server are the same.
- Generate a CSR (certificate request).
- Submit the CSR to your third-party certifying authority, and fill out their requested information.
- Receive the certificate (and any chain certificates, if necessary) from your certifying authority.
- Import the certificate and any chain certificates to your (mt) Media Temple server.
These steps are covered in more detail below.
End of Life Warning
This service has a pending End of Life. Please move to a current service as soon as possible. For more information, please see: (dv) Dedicated-Virtual 4.0: Migration Information.
TIP:
Already have a certificate? You may be able to skip the CSR part of the instructions and simply import your certificate and private key from the previous server. See Moving an SSL Certificate from another server for details.
Instructions
Generate your CSR (certificate request)
- Sign into your AccountCenter.
-
Click on your primary domain or the Admin button to access your (gs) Grid-Service Control Panel. See Figure 1.

Figure 1. -
Click the SSL Certificate icon, see Figure 2.

-
Select generate CSR.

-
Fill in the details about your certificate, then click generate.

- Common Name (full domain name): This is the domain or subdomain for which you want the certificate. Some common examples: example.com, www.example.com, store.example.com. Note that you MUST use this same domain or subdomain on your site for the certificate to work properly.
- Country: Your country.
- Location: Your city.
- State: Your state.
- Organization: Your company name.
- Organizational Unit: Optional. Your department.
- Email Address: The email address that you want to receive correspondence regarding this certificate.
TIP:
If you're not sure what to put in any of these fields, contact your certificate vendor - they will be the ones verifying your company details before they generate your certificate.
-
You will now have a CSR. Copy the chunk of text, including the beginning and ending lines, into the form your certificate vendor supplies.

If you need to access the CSR again, follow steps a-c above, then click on view current csr.
NOTE:
Your domain is assigned a new IP address once you install the certificate. You shouldn't notice any downtime for your site, due to the (gs) Grid-Service architecture, but the certificate won't become effective for up to 24 hours.
If you use third-party DNS, please update your IP address in the zone file for the domain.
- Find your new IP address in your Server Guide, in the DNS section, under IP Address.
-
Submit your CSR to your third-party certifying authority. Fill out any information they require. When you fill in the server type, select Apache or Apache OpenSSL, whichever is available.
- Verisign - choose Apache
- Thawte - choose Apache_OpenSSL
- GeoTrust - choose Apache + Open SSL
If you need to access the CSR again, follow steps a-c above, then click on view current csr.
- It may take a few days for the certifying authority to process your request. If you have questions about the status of your request, please contact your third-party vendor.
-
Obtain your certificate, and any required chain certificates, from your certifying authority. You may be prompted to download something called a bundle. Do so, unzip it if necessary, and open it. You will likely have one certificate and three chain certificates inside. You can open these files in a text editor, such as Notepad or TextEdit, for easy copying and pasting.
- Chain certificates are also called CA certificates.
-
Import your certificate and any chain certificates.
- Sign into the AccountCenter.
- Click on your primary domain.
-
Click SSL Certificate

-
Click import certificate.

- On your computer, open your SSL certificate with a plain text editor. See Step 3 for details.
-
Copy the certificate from the text editor and paste it into the Certificate field in the AccountCenter. Copy the entire thing, including the beginning and ending lines.

- If you have any chain certificates, or CA certificates, paste those into the CA/Chain Certificate field, one after the other. Again, include the beginning and ending lines for each chain certificate.
- Click save.
- Your site is now encrypted by an SSL certificate. You must visit your site over https:// to see the effects. Make sure you use the exact domain or subdomain for which you purchased the certificate.
Instructions
Plesk 10.3 and higher supports SNI. This allows multiple SSL Certificates to be installed on a shared IP address. For more information, please see: How can I host multiple sites on a single IP address?
-
Log into the Plesk Server Administrator Panel, see Figure 1:

Figure 1: Server Administration Panel -
From the left-menu, click on Tools & Utilities, see Figure 2.

Figure 2. -
Click on SSL Certificates, see Figure 3.

Figure 3. -
Click on Add SSL Certificate, see Figure 4.

Figure 4. -
Specify the certificate properties:
- Certificate name. This will help you identify this certificate in the repository.
- Your location and organization name. The values you enter should not exceed the length of 64 symbols.
- Domain name. The domain name for which you want to purchase an SSL certificate. This should be a fully qualified domain name. For this example, we use: dv-example.com.
- Email. The website administrator's e-mail address.
Double-check to ensure that all the provided information is correct and accurate, as it will be used to generate your private key.
- Click the Request button. Your private key and certificate signing request will be generated and stored in the repository.
- In the list of certificates, click the name of the certificate you just created. A page showing the certificate properties opens.
-
Locate the CSR section on the page, and copy the text that starts with the line
-----BEGIN CERTIFICATE REQUEST-----and ends with the line-----END CERTIFICATE REQUEST-----to the clipboard. -
Submit your CSR to your third-party certifying authority. Fill out any information they require. When you fill in the server type, select Apache or Apache OpenSSL, whichever is available.
- Verisign - choose Apache
- Thawte - choose Apache_OpenSSL
- GeoTrust - choose Apache + Open SSL
It may take a few days for the certifying authority to process your request. If you have questions about the status of your request, please contact your third-party vendor.
- Obtain your certificate, and any required chain certificates, from your certifying authority. You may be prompted to download something called a bundle. Do so, unzip it if necessary, and open it. You will likely have one certificate and three chain certificates inside. You can open these files in a text editor, such as Notepad or TextEdit, for easy copying and pasting. Chain certificates are also called CA certificates. Import your certificate and any chain certificates.
- Return to the SSL certificates repository (Tools & Settings > SSL Certificates). Upload the SSL certificate: Click Browse in the middle of the page and navigate to the location of the saved certificate.
- Select it, and then click Send File. This will upload and install the certificate against the corresponding private key.
- Return to the SSL Certificates repository (Tools & Settings > SSL Certificates).
- Next, we need to assign the certificate to the IP address. Click on Tools & Utilities and click on IP Addresses.
- From the SSL Certificate drop-down menu, select the certificate you installed and click on the OK button.
Every SSL certificate needs to be on its own IP address. If you need only one certificate on your server, you are welcome to replace the default Plesk certificate with your new purchased certificate, and you will not need a new IP. However, if you do not want to replace the existing certificate on your current IP address, you will need to purchase a new IP for your server ($1.00 per month). Please get the new IP and update the domain before proceeding.
Instructions
-
Generate your CSR (certificate request).
- Log into Plesk.
-
Depending on where you want to upload the certificate, click on Server,

OR
Click on Domains, then on your domain.

Both options will work just as well, but if you add it under the domain, that domain has to be the only one on the IP address, and the IP address has to be set to Exclusive. If you add it under the Server section, you can have multiple domains on the IP, and the new certificate will apply to all of them (particularly useful if you have a wildcard certificate).
-
Click on Certificates.

-
Click Add New Certificate.

-
Fill in the form details, then click Request.

- Certificate name: The name you will use in Plesk to reference this certificate. Must be different from your other certificates.
- Bits: 2048 if your certificate vendor supports it.
- Country: Your country. This section and the next three will auto-fill with your Plesk information.
- State or province: Your state or province.
- Location (City): Your city.
- Organization name (company): Your company.
- Organization department/division name: Optional. Your department.
- Domain name: This is the domain or subdomain for which you want the certificate. Some common examples: example.com, www.example.com, store.example.com. Note that you MUST use this same domain or subdomain on your site for the certificate to work properly.
- E-mail: The email address that you want to receive correspondence regarding this certificate.
TIP:
If you're not sure what to put in any of these fields, contact your certificate vendor - they will be the ones verifying your company details before they generate your certificate.
- You will be returned to the main Certificates page.
-
Click on the certificate you just generated.

-
Scroll down. You'll see your CSR and Private key. Copy the chunk of text for the CSR, including the beginning and ending lines, into the form your certificate vendor supplies.

If you need to access the CSR again, please follow steps a-c and g above.
-
Submit your CSR to your third-party certifying authority. Fill out any information they require. When you fill in the server type, select Apache or Apache OpenSSL, whichever is available.
- Verisign - choose Apache
- Thawte - choose Apache_OpenSSL
- GeoTrust - choose Apache + Open SSL
If you need to access the CSR again, follow steps a-c and g above, then scroll down to the CSR.
- It may take a few days for the certifying authority to process your request. If you have questions about the status of your request, please contact your third-party vendor.
-
Obtain your certificate, and any required chain certificates, from your certifying authority. You may be prompted to download something called a bundle. Do so, unzip it if necessary, and open it. You will likely have one certificate and three chain certificates inside. You can open these files in a text editor, such as Notepad or TextEdit, for easy copying and pasting.
- Chain certificates are also called CA certificates.
-
Import your certificate and any chain certificates.
- Log into Plesk.
-
Depending on where you originally generated the CSR, click on Server,

OR
Click on Domains, then on your domain.

Both options will work just as well, but if you add it under the domain, that domain has to be the only one on the IP address. If you add it under the Server section, you can have multiple domains on the IP, and the new certificate will apply to all of them (particularly useful if you have a wildcard certificate).
-
Click on Certificates.

- On your computer, open your SSL certificate with a plain text editor. See Step 3 for details.
-
Copy the certificate from the text editor and paste it into the Certificate field in Plesk. Copy the entire thing, including the beginning and ending lines.

- If you have any chain certificates, or CA certificates, paste those into the CA certificate field, one after the other. Again, include the beginning and ending lines for each chain certificate.
- Click Send Text at the bottom.
-
Alternately, you can upload the certificate and any CA certificates using the Browse buttons. The files have to be plain text. When you're done, click Send File.

-
If you uploaded the certificate to the Server section, you will now need to assign the certificate to your IP address. You will also need to make sure SSL support is enabled for your domain, which is covered in the next step. Skip to the next step if you uploaded the certificate under the Domains section.
-
Click on Server on the left.

-
Click on IP Addresses.

-
Click on the IP address for this domain.

-
Select your new certificate from the SSL Certificate dropdown, then click OK.

-
Click on Server on the left.
-
Make sure your domain has SSL support enabled. Also, if you uploaded the certificate to your domain, you will now need to select that certificate for the domain.
-
Click on Domains on the left.

-
Click on Setup.

-
Make sure SSL support is enabled, under Preferences. Also, decide whether you want to allow the server to display the contents of the httpdocs directory over https://. If so, select Use a single directory for housing SSL and non-SSL content. If not, leave it unchecked.

-
Select your new certificate from the Certificate dropdown menu.

-
If the certificate isn't there, you'll need to make sure this is the only domain on the IP address, and that the IP address is set to Exclusive.
- Follow steps a-b in the previous section, then look at the IP address. Does it show the number 1 in the Hosting column on the far right? Is it set to Exclusive?

- If the answer is no for either of these, you will either need to juggle your domains so that this domain can use this IP exclusively, or you should re-upload the certificate in the Server section instead. Just start at Step 4 again, except you will copy the certificate, any CA certificates, and the private key from the domain section of the server.
-
Click on Domains on the left.
- Your site is now encrypted by an SSL certificate. You must visit your site over https:// to see the effects. Make sure you use the exact domain or subdomain for which you purchased the certificate.
Troubleshooting
When I visit my site over https://, I get a certificate warning like this:
This is an untrusted certificate
- See if your SSL certificate requires a chain certificate. Contact your certifying authority if you did not receive the chain certificate. Review the steps above to upload the chain certificate(s) to your server.
- Make sure you added all of your chain certificates to the server. There are usually three.
- Make sure the certificate has not expired.
- Contact your certifying authority for further assistance.
This web site does not supply ownership information
- Make sure you replaced the default Plesk certificate for your domain.
- Plesk has a bug that makes uploaded certificates show as self-signed. If this is your first time adding an SSL certificate to the server, run this one-liner in SSH:
cd /etc/httpd/conf.d/; cp ssl.conf ssl.conf.old && sed '/VirtualHost/,$ s/^/#/' ssl.conf.old > ssl.conf && service httpd restart
This Connection is Untrusted
- Use the exact domain or subdomain for which you purchased the SSL certificate. It matters whether you use the "www" or not in the URL. Adjust links, redirects, and URL settings on your website as necessary.
- On the (gs) Grid-Service, wait 24 hours for your IP address to update.
- Make sure you updated your DNS to point your domain to your new IP address.
This Page Contains Both Secure and Non-Secure Items
- Do you include any regular http:// links on your page? Make sure you switch them all to https://, or use relative paths for links.
The web page doesn't show up!
-
Log into Plesk, click on Domains, click on your domain, then on Setup. Select the option to Use a single directory for housing SSL and non-SSL content.

- Wait 12 hours for your DNS change to finish propagating.
Why do I receive a wrong certificate error via HTTPS?
Please see this article for a solution.
Unable to upload new SSL certificate due to error
Please see this article for additional information.