Portainer uses TLS 1.3 that is not supported by NPM
Checklist
- Have you pulled and found the error with
jc21/nginx-proxy-manager:latestdocker image?- Yes
- Are you sure you're not using someone else's docker image?
- Yes
- Have you searched for similar issues (both open and closed)?
- Yes
Describe the bug Portainer now requires TLS 1.3 and cannot be used with TLS 1.2. So i am getting bad TLS handshake errors.
Can NPM switch to TLS version 1.3 or make an option to only do certain proxies with TLS 1.3?
Nginx Proxy Manager Version v2.9.18
To Reproduce Steps to reproduce the behavior:
- In NPM make a proxy for Portainer HTTPS
- Use latest Portainer 2.13.0
- See the error when trying to access it.
Expected behavior You should see the Portainer login page
Error level=info msg="2022/05/10 22:06:12 http: TLS handshake error from 10.10.10.12:43718: tls: client offered only unsupported versions: [303 302 301]"
Operating System Synology NAS 918+ (Ubuntu Linux of some sort)
I am experiencing exactly the same issue!
Just add proxy_ssl_protocols TLSv1.3; to the Advanced section.
This is mentioned in the portainer release notes.
Yes thank you, this works as temporary fix. I see now there is a fix to allow TLS1.2 again so i will close this issue.
jacepalm.jpg
Minimum TLS version is 1.3 for the latest portainer release. What "temporary" are you talking about?
Well the best way is to integrate TLS 1.3 into the proxy itself instead to rely on the user. And it was temporary because Portainer doesnt require the TLS 1.3 anymore as of https://github.com/portainer/portainer/releases/tag/2.13.1
So it works without it again.