Welcome! Log In Create A New Profile

Advanced

SSL Not Working

PARMAR, MINESH
March 14, 2012 03:52PM
Help Please..

I am create simple SSL configuration as describe in documentation but I keep getting following error message... Can you please advise what I am doing wrong..

-bash-3.2# nginx -v
nginx version: nginx/1.0.13




2012/03/14 19:27:23 [crit] 5650#0: *1 SSL_do_handshake() failed (SSL: error:140B512D:SSL routines:SSL_GET_NEW_SESSION:ssl session id callback failed) while SSL handshaking, client: 135.199.76.62, server: localhost

Here is my ngle.conf file
upstream ngleproject {
server 74.191.89.69:8080;
server 74.191.89.71:8080;
}

server {
listen 8080;
server_name localhost;

access_log /opt/ngnix/logs/ngle.access.log main;
error_log /opt/ngnix/logs/ngle.error.log debug;

location / {
proxy_pass http://ngleproject;
}
}

server {
listen 8082;
server_name localhost;

access_log /opt/ngnix/logs/ngle.ssl-access.log main;
error_log /opt/ngnix/logs/ngle.ssl-error.log debug;

ssl on;
ssl_certificate /etc/nginx/ssl/nginx.in.csr;
ssl_certificate_key /etc/nginx/ssl/nginx.in.key;

ssl_session_timeout 5m;
ssl_protocols SSLv2 SSLv3 TLSv1;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;


location / {
root /opt/ngnix/docs;
index index.html index.htm;
}
}

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

SSL Not Working

PARMAR, MINESH March 14, 2012 03:52PM

Re: SSL Not Working

Maxim Dounin March 14, 2012 09:24PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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