Max
February 08, 2012 08:50PM
09 февраля 2012, 05:06 от "zealot83" <nginx-forum@nginx.us>:
> A similar problem to below case occurred in mine.
> http://forum.nginx.org/read.php?2,144108,222098#msg-222098
>
> Following is the ssl server configuration.
> At first I used AJP.
> But after I could not find a corresponding directive to
> proxy_ssl_session_reuse, I changed to proxy.
>
> upstream loadbalancer {
> server 127.0.0.1:8080;
>
> keepalive 100;
> }
>
> server {
> listen 443 default ssl;
> ssl on;
>
> ......
>
> location / {
> #access_log off;
> #ajp_pass loadbalancer;
> proxy_pass http://loadbalancer;
> proxy_ssl_session_reuse off;
> }
> }
>
> Here's the error log:
> 2012/02/08 15:03:49 [info] 13273#0: *1 SSL_do_handshake() failed (SSL:
> error:14094416:SSL routines:SSL3_READ_BYTES:sslv3 alert certificate
> unknown) while SSL handshaking,

You're probably using a self-signed certificate?
First sync the time on all the servers and clients
using NTP, then try using different browsers
(other than Firefox and IE) and curl.

If the problem persists, sync the time on the
server again and regenerate the certificate.
If that doesn't help, post your complete nginx.conf,
the output of "nginx -V" and "uname -a", and the
the version of OpenSSL on the server where you
compiled nginx.

Max
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

504 SSL_do_handshake() failed

zealot83 February 08, 2012 08:06PM

Re: 504 SSL_do_handshake() failed

Max February 08, 2012 08:50PM

Re: 504 SSL_do_handshake() failed

zealot83 February 09, 2012 01:10AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 299
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