-
Notifications
You must be signed in to change notification settings - Fork 25.2k
Better error messages for common TLS problems #43079
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
Labels
Comments
Pinging @elastic/es-security |
related #32688 |
pull bot
pushed a commit
to fabriziofortino/elasticsearch
that referenced
this issue
Jul 31, 2019
This change improves the exception messages that are thrown when the system cannot read TLS resources such as keystores, truststores, certificates, keys or certificate-chains (CAs). This change specifically handles: - Files that do not exist - Files that cannot be read due to file-system permissions - Files that cannot be read due to the ES security-manager Relates: elastic#43079
jkakavas
pushed a commit
that referenced
this issue
Jul 31, 2019
This change improves the exception messages that are thrown when the system cannot read TLS resources such as keystores, truststores, certificates, keys or certificate-chains (CAs). This change specifically handles: - Files that do not exist - Files that cannot be read due to file-system permissions - Files that cannot be read due to the ES security-manager Relates: #43079
tvernum
added a commit
to tvernum/elasticsearch
that referenced
this issue
Aug 1, 2019
This change improves the exception messages that are thrown when the system cannot read TLS resources such as keystores, truststores, certificates, keys or certificate-chains (CAs). This change specifically handles: - Files that do not exist - Files that cannot be read due to file-system permissions - Files that cannot be read due to the ES security-manager Relates: elastic#43079 Backport of: elastic#44787
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
We have a goal of making TLS easier (see #41182).
One of the concrete ways that we can do that is to improve the error messages that users get when TLS fails.
This is a meta issue to track the various scenarios that we would like to improve.
Overall goals
Glossary
In the scenarios below...
Scenarios where good messages will help resolve problems:
Note: Some of these scenarios overlap.
certificate_authorities
)xpack.security.transport.ssl.key
is set, butxpack.security.transport.ssl.enabled
is not). This should be a warning in 7.x, but 8.0 could require an explicit value forssl.enabled
if any otherssl.*
key is configured. Reject misconfigured/ambiguous SSL server config #45892xpack.security.transport.ssl.enabled
is true, but no resources have been configured). Reject misconfigured/ambiguous SSL server config #45892certificate_authorities
) does not contain any trusted CAsCN=Elastic Certificate Tool Autogenerated CA
)verification_mode: full
) but server certificate does not contain any SANs.publish_host
)The text was updated successfully, but these errors were encountered: