4 messages in ru.sysoev.nginxRe: SSL not initialized properly in a...
FromSent OnAttachments
Just MarcJun 27, 2008 5:47 am 
Igor SysoevJun 27, 2008 6:20 am 
Just MarcJun 27, 2008 6:32 am 
Igor SysoevJun 27, 2008 6:47 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: SSL not initialized properly in a server section containing a syntax error in the server_name directiveActions...
From:Igor Sysoev (is-G@public.gmane.org)
Date:Jun 27, 2008 6:20:02 am
List:ru.sysoev.nginx

On Fri, Jun 27, 2008 at 08:48:08AM -0400, Just Marc wrote:

The below configuration causes SSL not to be initialized for that server section, silently. nginx listens on the port but rejects SSL connections as "client sent invalid method while reading client request line ... " as shown by the error log file, which was put in debug mode to figure this out.

Tested with version 0.6.31.

server { listen x.x.x.x:443; server_name hostname.com <- notice the lack of ;

ssl on; ssl_protocols SSLv3 TLSv1; ... }

nginx treats this as

server_name hostname.com ssl on;

The problem is that "ssl" and "on" may be valid server names.

The server_name directive now checks only "/" symbols in name and issues warning

server name "..." has strange symbols

to prevent

server_name hostname.com access_log /path/to/log;

and so.