Skip to content

NginxProxyManager ignoring ssl-ciphers.conf with custom SSL certificate's #1982

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Kopernikus1979 opened this issue Apr 7, 2022 · 3 comments

Comments

@Kopernikus1979
Copy link

Kopernikus1979 commented Apr 7, 2022

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
When using a custom SSL certificate (in my case a Comodo/Sectigo Positive wildcard) and I do a SSL crypto check (cryptcheck.fr or ssl labs) for some reason all ciphers (including old unsecure ones) are enabled so ignoring the ones defined in the "ssl-ciphers.conf".

So to test I used the same host but this time I created a Let's Encrypt certificate instead of using my custom one, redid the crypto checks and now only the secure ciphers are showed (as defined in ssl-ciphers.cond).

Also tested this with another custom certificate same result...

@jc21 Can you have al look at this plz?

Btw expect a donation for your great work.

Thx

@Kopernikus1979
Copy link
Author

Kopernikus1979 commented Apr 8, 2022

@jc21

Did some more research and found out why this is happening:

If you create a proxy, there a config file created inside /data/nginx/proxy_host (x.conf)

To test I created the same proxy but first with the custom SSL and second time with Let's Encrypt.

When I compared the two configs I noticed that in the config file for the Let's Encrypt host, the config line "include conf.d/include/ssl-ciphers.conf;" is added, if you look to the same proxy host with custom certificate that config line is not added.

Then to test I added the line manual to the proxy host with custom ssl and then the correct ciphers are used.

So as a workaround I just add "include conf.d/include/ssl-ciphers.conf; in the advanced tab section of the proxy hosts.

Btw: I posted this bug also on the Github off jlesage since the same problem exists here also

Copy link

Issue is now considered stale. If you want to keep it open, please comment 👍

@github-actions github-actions bot added the stale label Feb 19, 2024
Copy link

github-actions bot commented Apr 4, 2025

Issue was closed due to inactivity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant