Welcome! Log In Create A New Profile

Advanced

Re: Nginx on Windows Server 2008 with SSL

October 29, 2014 11:31AM
the error in the log file is this:

SSL_CTX_use_PrivateKey_file("c:/nginx/ssl/key.key") failed (SSL: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch

Have you tried running the commenting ssl_certificate_key line with a # and the error that appears is this:

no "ssl_certificate_key" is defined for the "ssl" directive in C:\nginx/conf/nginx.conf:121

The conf file is well:

server {
listen 443;

ssl on;
ssl_certificate c:/nginx/ssl/SSL.pem;
ssl_certificate_key c:/nginx/ssl/key.key;

server_name localhost;
access_log c:/nginx/logs/ssl_access.log;
error_log c:/nginx/logs/ssl_error.log;
location / {
root html;
index index.php;
}
}
Subject Author Posted

Nginx on Windows Server 2008 with SSL

krlosgilson October 29, 2014 09:13AM

Re: Nginx on Windows Server 2008 with SSL

Francis Daly October 29, 2014 09:48AM

Re: Nginx on Windows Server 2008 with SSL

krlosgilson October 29, 2014 11:31AM

Re: Nginx on Windows Server 2008 with SSL

Francis Daly October 29, 2014 06:54PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 66
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready