Welcome! Log In Create A New Profile

Advanced

SSL_CTX_use_PrivateKey_file

November 05, 2012 05:44PM
Никак не могу подключить ссл сертификат
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 Уважением, Дмитрий
_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

SSL_CTX_use_PrivateKey_file

fob` November 05, 2012 05:44PM

Re: SSL_CTX_use_PrivateKey_file

Maxim Dounin November 06, 2012 05:50AM

Re: SSL_CTX_use_PrivateKey_file

fob` November 06, 2012 07:40AM

Re: SSL_CTX_use_PrivateKey_file

Alexey Shilo November 06, 2012 07:40AM

Re: SSL_CTX_use_PrivateKey_file

fob` November 06, 2012 07:46AM

Re: SSL_CTX_use_PrivateKey_file

Alexey Shilo November 06, 2012 07:51AM

Re: SSL_CTX_use_PrivateKey_file

fob` November 06, 2012 08:06AM

Re: SSL_CTX_use_PrivateKey_file

VBart November 06, 2012 08:18AM

Re: SSL_CTX_use_PrivateKey_file

harius November 06, 2012 08:18AM

Re: SSL_CTX_use_PrivateKey_file

VBart November 06, 2012 07:54AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 328
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready