Install Comodo SSL to non-ssl site(wp) in v4?

Hi Guys,

I have recently moved my sites to easy engine v4.
I previously used CPanel to manage one of my sites their I used Comodo SSL
for it. Now I want to know how to add the SSL current ssl to non SSL site.

I tried following - https://easyengine.io/handbook/internal/ssl and it doesnt cover much on other SSLs than LE.

Then to find configs I followed this https://easyengine.io/handbook/global-filesystem-structure/services-filesystem-structure article since v4 is container based it was told that these config files are auto generated each time and asked not to edit any of them.

Finally I want to how to add a COMODO SLL for NON-SSL site in V4

Solved this issue…

Note: This is given for Comodo Postive SSL on Nginx Server

Creation of SSL is referenced here https://support.sectigo.com/Com_KnowledgeDetailPage?Id=kA01N000000zFJQ]

Update the site to self SSL if SSL is not enabled

ee site update example.com --ssl=self

Simply replace the certs you generated on previous document following directory using SFTP

/opt/easyengine/services/nginx-proxy/certs

Check the SSL

https://ssllabs.com/ssltest/analyze.html?d=example.com&latest

More details about how to #TanJay

  1. Create a CSR on vps for the domain. Here I use the command:

openssl req -nodes -newkey rsa:2048 -keyout domainname.key -out domainname.csr -subj “/C=GB/ST=Yorks/L=York/O=MyCompany Ltd./OU=IT/CN=domainname.com

The generated key will be in the /root/ directory. domainname.key and domainname.csr

  1. Use CSR (domainname.csr) in step 1 to get the comodo ssl.

If you are Using GUI Text Editor (Ex: Notepad):

(i) To concatenate the file certificate into single bundle file, first open domainname.crt and domainname.ca-bundle files using any text editor.

(ii) Now copy all content of domainname.crt and paste it on the top of domainname.ca-bundle file.

(iii) Now save the file name as ‘ssl-bundle.crt’.

  1. Upload ‘ssl-bundle.crt’ into the /root/ directory and then use the command:
    ee site create domainname.com --ssl=custom --ssl-key=/root/domainname.key --ssl-crt=/root/ssl-bundle.crt

Hi sir, do you have detail for this way ?

I solve this issue, my way is :

  1. install ssl with ee site create example.com --wp --ssl=self (if wp
    or update with ee site update example.com --ssl=self
  2. open : cd /opt/easyengine/services/nginx-proxy/certs
  3. type : nano example.com.crt and delete existing document inside and replace it with following document you get from comodo and save it

hope this helps