Skip to content
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

Disable TLS v1.0 and TLS v1.1 #98

Open
leandrocruz opened this issue Jul 25, 2023 · 1 comment
Open

Disable TLS v1.0 and TLS v1.1 #98

leandrocruz opened this issue Jul 25, 2023 · 1 comment

Comments

@leandrocruz
Copy link

Is it possible to add a configuration option to disable these protocols?

@akalipetis
Copy link
Contributor

Hey @leandrocruz - it's not the best solution but you could either mount a file at /usr/local/openresty/nginx/conf/ceryx.conf.tmpl with the contents of the current file1, plus the wanted TLS config.

You'll need, for example, ssl_protocols TLSv1.2 TLSv1.3; inside the server block.

Of course, you can also open a PR in this repository to add support for this, while keeping the default the same as today (the key should not be configured at all if the environment variable is not set).

The environment variable could be CERYX_SSL_PROTOCOLS.

Footnotes

  1. https://github.com/withlogicco/ceryx/blob/master/ceryx/nginx/conf/ceryx.conf.tmpl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants