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

Use secure cipher suites for tls by default #380

Conversation

stingshen
Copy link
Contributor

@stingshen stingshen commented Dec 29, 2023

Fixes #379

Tested with docker run --rm -ti drwetter/testssl.sh -e --std 10.3.68.72:5001

image

@@ -64,9 +64,7 @@ func ServeOnce(c *server.Config, cf string) (*server.AuthServer, *http.Server) {
glog.Exitf("Failed to create auth server: %s", err)
}

tlsConfig := &tls.Config{
PreferServerCipherSuites: true,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PreferServerCipherSuites is deprecated and ignored

Copy link
Collaborator

@techknowlogick techknowlogick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 🙏

@techknowlogick techknowlogick merged commit 17d6f41 into cesanta:main Dec 29, 2023
6 checks passed
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

Successfully merging this pull request may close these issues.

Remove insecure cipher suites
2 participants