SSL_CTX_use_PrivateKey_file

Валентин Бартенев ne at vbart.ru
Tue Nov 6 12:52:50 UTC 2012


On Tuesday 06 November 2012 16:37:54 Dmitriy wrote:
> Сделал по инстукции еще раз
> 
>    - Fetch the Root CA and Class 1 Intermediate Server CA certificates:
> 
> *wget http://www.startssl.com/certs/ca.pem
> wget http://www.startssl.com/certs/sub.class1.server.ca.pem*
> 
>    - Create a unified certificate from your certificate and the CA
>    certificates:
> 
> *cat ssl.crt sub.class1.server.ca.pem ca.pem >
> /etc/nginx/conf/ssl-unified.crt*
> 
>    - Configure your nginx server to use the new key and certificate (in the
>    global settings or a server section):
> 
> *ssl on;
> ssl_certificate /etc/nginx/conf/ssl-unified.crt;
> ssl_certificate_key /etc/nginx/conf/ssl.key;
> 
> *В итоге :
> # sudo cat sub.class1.server.ca.pem ca.pem > ssl.crt
> # openssl x509 -text -noout -in /home/ubuntu/ssl.crt

Разницу между:

cat ssl.crt sub.class1.server.ca.pem ca.pem (в инструкции)
cat         sub.class1.server.ca.pem ca.pem (у вас)

заметили?

--
Валентин Бартенев
http://nginx.com/support.html
http://nginx.org/en/donation.html


Подробная информация о списке рассылки nginx-ru