مرکز آموزش

نصب گواهینامه ssl در Nginx

Certificate Installation: Nginx

You should have received your certificate from us, a file typically named 'your_domain_com.crt' as well as the 'CA bundle' file containing the intermediate certificates, typically named 'your_domain_com.ca-bundle'. [or dowenload the CA Bundle]

 

The following is an example configuration, to reduce the CPU load it is recommended to run one worker process only and to enable keep-alive connections:

worker_processes 1;
http {
server {
listen 443;
ssl on;
ssl_certificate /usr/local/nginx/conf/cert.pem;
ssl_certificate_key /usr/local/nginx/conf/cert.key;
keepalive_timeout 70;
}
}

Important note
When using chain certificates (CA Bundle), just append the extra certificates into your .crt file (cert.pem in the example). Your own certificate needs to be on top of the file, otherwise key get a mismatch with the key.


آیا این پاسخ به شما کمک کرد؟  پرینت این مقاله

در همین زمینه


نصب گواهینامه ssl در cpanel

To install your certificate, you will need to log in to your cPanel or WHM account. Both cPanel...

نصب گواهینامه ssl در direct admin

There are a few files you need to edit in order to install the certificate for Direct Admin....

نصب گواهینامه ssl در Apache

You should have received your certificate from us, a file typically named 'your_domain_com.crt'...

نصب گواهینامه ssl در IIS7

Certificate Installation: Microsoft IIS 7.x You will need a Dedicated IP for the SSL domain....

نصب گواهینامه ssl در IIS 5,6

Certificate Installation: Microsoft IIS 5.x & 6.x You will need a Dedicated IP for the SSL...