SSL_CTX_use_PrivateKey_file

Dmitriy fobfreeman at gmail.com
Mon Nov 5 22:41:45 UTC 2012


Никак не могу подключить ссл сертификат
nginx выдает такое
nginx: [emerg] SSL_CTX_use_PrivateKey_file("/etc/nginx/conf.d/ssl.key")
failed (SSL: error:0B080074:x509 certificate
routines:X509_check_private_key:key values mismatch)

Понятно, в документации пишется, что неправильно соединены сертификаты,
(ключ 100% правильный 2 раза проверял), только ничего не выходит пока - ни
вручную соединенный (хоть так хоть эдак) ни bundle.
Вот участок рабочего конфига, где идет ссылка на доп. в котором ссл
server {
    ## Your website name goes here.
    server_name -.pp.ua www.-.pp.ua;
    ## Your only path reference.
    root /var/www/wp;
    access_log /var/log/nginx/wp-access.log;
    error_log /var/log/nginx/wp-error.log;
    listen 8080;
    listen 443;
    ## This should be in your http block and if it is, it's not needed here.
    index index.html index.htm index.php;

    include conf.d/drop;

        location / {
                # This is cool because no php is touched for static content
        try_files $uri $uri/ /index.php?q=$uri&$args;
        }


Вот drop
ssl on;
ssl_certificate /etc/nginx/conf.d/ca-bundle.pem;
ssl_certificate_key /etc/nginx/conf.d/ssl.key;
ssl_protocols        SSLv3 TLSv1;
location ~ /\. { deny all; access_log off; log_not_found off; }

В чем же проблема?



C Уважением, Дмитрий
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-ru/attachments/20121106/5566f5da/attachment.html>


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