Hi there,
we configured NGINX 1.2.1 on debian 7.1u1 with 5 virtual host, set up a
private certification authority, generated keys for all the the virt.
host
and configured the hosts similar to
server {
On Mon, Aug 04, 2014 at 01:53:15AM -0400, ukr wrote:
ssl_certificate /etc/nginx/ssl/server1.foo.baz.bar.pem;
However if we try to access server1 via curl -v -k
Host: server1.baz.bar
Accept: /
What is wrong in our config?
First of all I would recommend you to test if the client you are
testing with is able to use SNI. E.g., curl as available in
latest OS X seems to not able to use SNI.
sbin/nginx -V
nginx version: nginx/1.7.3
built by gcc 4.7.2 (Debian 4.7.2-5)
TLS SNI support enabled
Since you are using 1.7.3, in case you missed it:
2014-08-05 nginx-1.6.1 stable and nginx-1.7.4 mainline versions have
been released, with a fix for the STARTTLS vulnerability discovered by
Chris Boulton (CVE-2014-3556).
About your issue: maybe read Configuring HTTPS servers and try
some of the setups described on that page and see if you can get them to
work (with a client that supports SNI).
HTH,
Patrick
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.