- Register on GoGetSSL.
- Choose
SSL Certificates -> Domain Validation SSLfrom top menu. - On products table click
Detailsbutton on rowComodo - Free SSL. - On the opening page click
Create New Orderbutton. - In the Product Configuration section choose:
Product Type = SSL CertificatesandSelect Item = Comodo Trial SSL, then clickComplete Orderbutton. - On the opening page click
Incomplete Orderslink. - In the
List of all your SSL certificatestable clickGeneratebutton. - With Online CSR Generator generate CSR.
- Copy & Paste generated CSR into
Paste your CSRtext area. - Then click
Validate CSR. - On the opening page validate your domain via email, dns, http or https.
- In case of validation via email, you will get your private key as post. Do not lost your private key.
- After validation you will get access to
Download SSLbutton on theManage SSL Certificatespage, in the certificate details section. - Download your certificate & extract it OR check your email, you will get your certificate as archive.
- Assume your domain is
mysite.com, then in the archive you will getmysite_com.ca-bundleandmysite_com.crtfiles. - Open
mysite_com.crtfile, copy its content, then openmysite_com.ca-bundlefile and paste content to the beginning of the file, save the file. - Copy files into your domain's folder, for example, into
/www/mysite.com/cert/. - Save your private key as
mysite_com.keyand download intowww/mysite.com/cert/folder. - Set nginx configurations:
server {
listen 80;
server_name "mysite.com";
root /www/mysite.com;
index index.html;
location / {
return 301 https://mysite.com;
}
}
server {
listen 443 ssl;
server_name "mysite.com";
root /www/mysite.com;
index index.html;
ssl on;
ssl_certificate /www/mysite.com/cert/mysite_com.ca-bundle;
ssl_certificate_key /www/mysite.com/cert/mysite_com.key;
# ...
}