Opened 6 years ago

Closed 6 years ago

#1597 closed defect (worksforme)

strange issue with TLS and IPv6

Reported by: Fabian Franz BSc Owned by:
Priority: minor Milestone:
Component: other Version: 1.15.x
Keywords: ipv6, tls Cc:
uname -a: Linux host 4.16.13-2-ARCH #1 SMP PREEMPT Fri Jun 1 18:46:11 UTC 2018 x86_64 GNU/Linux
nginx -V: nginx version: nginx/1.14.0
built with OpenSSL 1.1.0h 27 Mar 2018
TLS SNI support enabled
configure arguments: --prefix=/etc/nginx --conf-path=/etc/nginx/nginx.conf --sbin-path=/usr/bin/nginx --pid-path=/run/nginx.pid --lock-path=/run/lock/nginx.lock --user=http --group=http --http-log-path=/var/log/nginx/access.log --error-log-path=stderr --http-client-body-temp-path=/var/lib/nginx/client-body --http-proxy-temp-path=/var/lib/nginx/proxy --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --http-scgi-temp-path=/var/lib/nginx/scgi --http-uwsgi-temp-path=/var/lib/nginx/uwsgi --with-cc-opt='-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2' --with-ld-opt=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now --with-compat --with-debug --with-file-aio --with-http_addition_module --with-http_auth_request_module --with-http_dav_module --with-http_degradation_module --with-http_flv_module --with-http_geoip_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_mp4_module --with-http_realip_module --with-http_secure_link_module --with-http_slice_module --with-http_ssl_module --with-http_stub_status_module --with-http_sub_module --with-http_v2_module --with-mail --with-mail_ssl_module --with-pcre-jit --with-stream --with-stream_geoip_module --with-stream_realip_module --with-stream_ssl_module --with-stream_ssl_preread_module --with-threads

Description

Error message in systemd journal:
no "ssl_certificate" is defined in server listening on SSL port while SSL handshaking

The strange thing is that IPv4 works but the server is reachable via IPv6 and IPv4.

config:

...
listen *:80 ipv6only=off default;
listen *:443 ipv6only=off ssl default;
server_name domain.example.com _;
ssl_certificate_key /path/to/key/key.pem;
ssl_certificate /path/to/key/fullchain.pem;
include tls.conf;
...

Change History (2)

comment:1 by Maxim Dounin, 6 years ago

Please provide full configuration as show by nginx -T.

comment:2 by Maxim Dounin, 6 years ago

Resolution: worksforme
Status: newclosed

Feedback timeout.

Note: See TracTickets for help on using tickets.