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

mail.smtp.ssl.trust creates a new SocketFactory #65

Open
lukasj opened this issue Jan 12, 2023 · 1 comment
Open

mail.smtp.ssl.trust creates a new SocketFactory #65

lukasj opened this issue Jan 12, 2023 · 1 comment

Comments

@lukasj
Copy link
Member

lukasj commented Jan 12, 2023

Hi.
The documentation of mail.smtp.ssl.trust said:
"If set, and a socket factory hasn't been specified, enables use of a MailSSLSocketFactory. If set to "*", all hosts are trusted. If set to a whitespace separated list of hosts, those hosts are trusted. Otherwise, trust depends on the certificate the server presents."
We set a own "mail.smtp.socketFactory" with a truststore and keystore but the MailSSLSocketFactory is created anyway if mail.smtp.ssl.trust is specified.
thx

original issue: jakartaee/mail-api#609

@lukasj
Copy link
Member Author

lukasj commented Jan 19, 2023

related change: jakartaee/mail-api#375

@jmehrens jmehrens assigned jmehrens and unassigned jmehrens Jan 12, 2024
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