Install Premium SSL ex. Comodo SSL on Ubuntu Server 20.04 LTS

 Install Premium SSL ex. Comodo SSL on Ubuntu Server 20.04 LTS - This way also work for ubuntu 18, ubuntu 16, ubuntu 14, etc. 😄.


When you buy premium SSL like comodo SSL you will get 4 code for private key and crt 

Install Premium SSL ex. Comodo SSL on Ubuntu Server 20.04 LTS

To apply this SSL to a website you need to combine CRT and CABUNDLE with:


$ cat your_domain.crt your_domain.ca-bundle >> your_domain_chain.crt


If you use nginx add this code to 443/ssl configuration

#ssl on;

#ssl_certificate /path/tossl/merge.crt;

#ssl_certificate_key /path/tossl/your.key;


example:


server { listen 443 ssl; server_name yourdomain.com; ssl on; ssl_certificate /path/tossl/merge.crt; ssl_certificate_key /pat/tossl/your.key; server_tokens off; location / { //some code here } }


Done!



Posting Komentar

0 Komentar