Installing a Comodo SSL
An SSL certificate creates a secure connection between the web browser and server to allow for sensitive data to be shared via encryption. Most of our clients don’t have an e-commerce website, so it’s more about user perception.
To get started log into the following:
- Comodo
- The client’s website
- The client’s cPanel
- Go to Comodo.
- Add login information to client’s account in Salesforce
- In the right-hand sidebar, click “All purchases.”
- Click on the ID number of the certificate you’re installing. (Typically there is only one, but a client may have purchased more for multiple websites.)
- Scroll to the bottom of the page and click the button that says “Generate Certificate” – it should be on the top left once you get to the buttons.
- Now go to the Cpanel
- Scroll to the Security section of the cPanel and client on SSL/TLS
- Select “Generate a CSR”
- From the client’s site, click on the Google icon (usually in the footer), to open their GMB profile.
- Use this information to complete the required fields back in the cPanel
- Click Generate and copy the code
- Select “Generate a CSR”
- Scroll to the Security section of the cPanel and client on SSL/TLS
- Now go back to Comodo
- In the domain authentication section, select HTTP file if the client does not currently have an SSL certificate (Select HTTPS file if they already have an SSL.)
- Click on “download auth file”
- Paste the CSR code
- Keep the selections on no for HackerGuardian and HackerProof
- Type of server: Apache
- Continue to next screen and click on “Download Auth File”
- Scroll down and select the checkbox
- Go back to the cPanel and upload the Authorization File using the file path: Client Site cPanel > File Manager > Public > .well-known > pki-validation
- ***Make sure settings are set to show hidden files. The “.well-known” and “pki-validation” folders will need to be created***
- Go back to the homepage of Comodo and click on “All Orders” again in the right sidebar
- If the certificate says “Active”, click on the order number and select Download Certificate. If it still says “Pending” wait a couple of minutes and re-fresh the page.
- If it’s not activating, make sure the authorization file is uploaded correctly. Also, Comodo chat is super helpful!
- After you’ve downloaded the certificate, unzip the folder so you can access the files. Now go back to the SSL/TLS section of the cPanel and click on the CRT section.
- Delete any existing certificates
- About halfway down the page, click on “Choose File” to upload the certificate files.
- Within the certificate folder you downloaded, choose the .crt file with the domain name, and select upload certificate.
- It will give a message that the upload was successful, return to the CRT screen and click on “Install” next to the certificate name.
- On client’s website:
- In Settings > General, add the “S” to the URLs. (ex: change http://clientsite.com/ to https://clientsite.com/)
- This will trigger the site to go the the wp-admin page and you’ll need to login again. If the site’s login URL is /bigwest instead, you’ll end up on a 404 page. Go to the correct login page (https://clientsite.com/bigwest) and login.
- When you go to the homepage, check out the icon next to the URL. Depending on the browser there are different messages, but if there is not the padlock icon there download the plugin “SSL Insecure Content Fixer,” go to its settings, and choose “Capture.” If the site is still not fully secure (no padlock icon), go to Why No Padlock and test the domain. Often it’s a background or list image defined in the CSS.
- In Settings > General, add the “S” to the URLs. (ex: change http://clientsite.com/ to https://clientsite.com/)
- In client’s cPanel:
- Go to Public > .htaccess, right-click and edit. Paste the following code at the very top of the file, then save and close.
- RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
- If you get an error of too many redirects…
- Go to Cloudflare and update the SSL settings to Full (strict)
That’s it, you did it!