Skip to content
This repository was archived by the owner on Nov 17, 2020. It is now read-only.

Fix duplicate ssl_prefer_server_ciphers error #13

Closed
wants to merge 1 commit into from

Conversation

oakey-b1
Copy link
Contributor

@oakey-b1 oakey-b1 commented Aug 2, 2017

Some distors (like Ubuntu 16.04) will have ssl_prefer_server_ciphers in the nginx config by default.
If this is the case nginx won't (re)start after hardening as the setting is duplicate.

Same goes for ssl_protocols, only with the difference that it throws a warning instead of an error.

nginx: [warn] duplicate value "TLSv1.2" in /etc/nginx/conf.d/90.hardening.conf:11
nginx: [emerg] "ssl_prefer_server_ciphers" directive is duplicate in /etc/nginx/conf.d/90.hardening.conf:14

and duplicate ssl_protocols warning

> nginx: [warn] duplicate value "TLSv1.2" in /etc/nginx/conf.d/90.hardening.conf:11
> nginx: [emerg] "ssl_prefer_server_ciphers" directive is duplicate in /etc/nginx/conf.d/90.hardening.conf:14
@oakey-b1
Copy link
Contributor Author

moved to own branch and created #16

@oakey-b1 oakey-b1 closed this Dec 20, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant