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

Check server identity by default #12

Closed
oliverlietz opened this issue Mar 4, 2022 · 1 comment
Closed

Check server identity by default #12

oliverlietz opened this issue Mar 4, 2022 · 1 comment

Comments

@oliverlietz
Copy link

Server Identity Check should be enabled by default to prevent MITM attacks.

See also discussion in jakartaee/mail-api#429 and SSLNOTES:

-- Server Identity Check

RFC 2595 specifies addition checks that must be performed on the
server's certificate to ensure that the server you connected to is
the server you intended to connect to. This reduces the risk of
"man in the middle" attacks. For compatibility with earlier releases
of Jakarta Mail, these additional checks are disabled by default. We
strongly recommend that you enable these checks when using SSL. To
enable these checks, set the "mail..ssl.checkserveridentity"
property to "true".

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

1 participant