Tuesday, August 15, 2017

java mail and TLS

article

check mail.smtp.ssl.socketFactory here


hMailServer
SSL certificates
public key is expected to be in PEM format
see here
private key must be with stripped out passphrase, i.e. without a passphrase
I used BIS to export PK without a passphrase


For Debug:
-Djava.security.debug=certpath