nginx-proxy-manager icon indicating copy to clipboard operation
nginx-proxy-manager copied to clipboard

Portainer uses TLS 1.3 that is not supported by NPM

Open TheSander562 opened this issue 4 years ago • 6 comments

Checklist

  • Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker 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:

  1. In NPM make a proxy for Portainer HTTPS
  2. Use latest Portainer 2.13.0
  3. 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)

TheSander562 avatar May 10 '22 22:05 TheSander562

I am experiencing exactly the same issue!

nicreuss avatar May 11 '22 13:05 nicreuss

Just add proxy_ssl_protocols TLSv1.3; to the Advanced section. This is mentioned in the portainer release notes.

sobakaio avatar May 11 '22 15:05 sobakaio

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.

TheSander562 avatar May 11 '22 15:05 TheSander562

jacepalm.jpg

sobakaio avatar May 15 '22 08:05 sobakaio

Minimum TLS version is 1.3 for the latest portainer release. What "temporary" are you talking about?

sobakaio avatar May 15 '22 08:05 sobakaio

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.

TheSander562 avatar May 15 '22 19:05 TheSander562