-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Description
Using the "latest" tag of 7 Jan, 2025, I'm getting errors trying to access our apps through nginx-proxy over SSL. No changes have been made to the apps. Going back to nginx-proxy:1.6 solves the problems.
Symptoms:
Getting ERR_ADDRESS_UNREACHABLE in Opera, and similar errors in other browsers (sorry haven't recorded them exactly).
Trying to track down the issue with openssl results in the following error:
$ openssl s_client -connect mysub.domain.net:443 -showcerts
CONNECTED(00000003)
140579092948288:error:14094458:SSL routines:ssl3_read_bytes:tlsv1 unrecognized name:../ssl/record/rec_layer_s3.c:1552:SSL alert number 112
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 7 bytes and written 231 bytes
Verification: OK
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
SSL-Session:
Protocol : TLSv1.2
Cipher : 0000
Session-ID:
Session-ID-ctx:
Master-Key:
PSK identity: None
PSK identity hint: None
SRP username: None
Start Time: 1736243376
Timeout : 7200 (sec)
Verify return code: 0 (ok)
Extended master secret: no
---
I also tried openssl s_client -connect mysub.domain.net:443 -servername mysub.domain.net -showcerts
and openssl s_client -connect mysub.domain.net:443 -servername mysub.domain.net -showcerts -tls1_2
and got the same results.
I'm not using nginx-proxy directly, but this image derived from it that installs our custom certificates:
FROM jwilder/nginx-proxy
EXPOSE 80 443
# Copy configuration file
COPY conf/nginx /etc/nginx/conf.d
# Copy certificate chain including ICA
COPY certs/mysub.domain.net.crt-chain.pem /etc/nginx/certs/domain.net.crt
# Copy ssl key
COPY certs/mysub.domain.net.key.pem /etc/nginx/certs/domain.net.key
# Update and add nano
RUN apt-get update -y && apt-get install -y nano
Please let me know if you need more information and which.