ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SSL_CTX_use_PrivateKey_file



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 mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.