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
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: https://github.com/jakartaee/mail-api/issues/609