java mail ssl error solution

javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure

Jdk8 jce security mechanism will cause an error to access https, which can be replaced with

the download address of these two jar packages:
http://www.oracle. com/technetwork/java/javase/downloads/jce-7-download-432124.html

and after downloading, decompress the compressed file and get two jar packages to cover
the same ones under jre\lib\security\ in the jdk installation directory The jar package can solve the mail sending problem of java8.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326439582&siteId=291194637