<br>Here is my two ssl vhosts>>><br><br>server {<br> listen 443;<br> ssl on;<br> ssl_certificate /usr/local/etc/pathTocrt;<br> ssl_certificate_key /usr/local/pathTokey;<br><br><br> server_name <a href="http://xxxxx.com">xxxxx.com</a> <a href="http://www.xxxxxx.com">www.xxxxxx.com</a><br>
---------------------------------------------------------------------------------------------------<br><br>server {<br> listen 443;<br> ssl on;<br> ssl_certificate /usr/local/etc/pathTocrt2;<br> ssl_certificate_key /usr/local/pathTokey2;<br>
<br><br> server_name <a href="http://xxxxx2.com">xxxxx2.com</a> <a href="http://wwww.xxxxxx2.com">wwww.xxxxxx2.com</a><br><br><br>Hope that helps..<br><br><br>Regards,<br>Iancho<br><br> <br><div class="gmail_quote">
2009/10/27 Igor Sysoev <span dir="ltr"><<a href="mailto:is@rambler-co.ru">is@rambler-co.ru</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Mon, Oct 26, 2009 at 11:19:08PM -0700, ianchov wrote:<br>
<br>
><br>
> I built is successfully against SNI<br>
> and the<br>
> nginx -V 2>&1 | grep SNI<br>
><br>
> is showing TLS SNI support enabled<br>
><br>
> Howevever again i cannot manage to use two different SSL certificates on two<br>
> SSL listening on port 443..<br>
> Any ideas???<br>
<br>
</div>Could you show SSL part of<br>
<br>
vhosts/ssl_example.com.conf;<br>
vhosts/ssl_alias.conf;<br>
<div class="im"><br>
?<br>
<br>
> On Tue, Oct 27, 2009 at 08:08, Igor Sysoev [via nginx] <<br>
</div>> <a href="mailto:ml-node%2B3897241-1340561436@n2.nabble.com">ml-node+3897241-1340561436@n2.nabble.com</a><<a href="mailto:ml-node%252B3897241-1340561436@n2.nabble.com">ml-node%2B3897241-1340561436@n2.nabble.com</a>><br>
<div class="im">> > wrote:<br>
><br>
> > On Thu, Oct 22, 2009 at 06:28:19AM -0700, ianchov wrote:<br>
> ><br>
> > ><br>
> > ><br>
> > > Hi,<br>
> > ><br>
> > > I have build nginx with your command line options but still SNi does not<br>
> > > work.<br>
> > > strings nginx | grep SSL show the new OpenSSL 9.9.8k<br>
> > > I have the openssl src on a directory. SHould i install it or it is<br>
> > enough<br>
> > > that nginx is compiled against it??<br>
> ><br>
> > I meant not "strings nginx | grep SSL", but<br>
> > "strings nginx | grep SSL_get_servername".<br>
> ><br>
> > Anyway, try to build the lastest 0.8.21 or 0.7.63 and run<br>
> ><br>
> > nginx -V 2>&1 | grep SNI<br>
> ><br>
> ><br>
><br>
> --<br>
</div>> View this message in context: <a href="http://n2.nabble.com/Issue-with-VirtualHost-definition-order-and-SNI-SSL-tp3796531p3897261.html" target="_blank">http://n2.nabble.com/Issue-with-VirtualHost-definition-order-and-SNI-SSL-tp3796531p3897261.html</a><br>
<div class="im">> Sent from the nginx mailing list archive at Nabble.com.<br>
<br>
</div><div><div></div><div class="h5">--<br>
Igor Sysoev<br>
<a href="http://sysoev.ru/en/" target="_blank">http://sysoev.ru/en/</a><br>
<br>
</div></div></blockquote></div><br>