javax.mail.MessagingException: Could not convert socket to TLS; nested exception is: javax.net.ssl.SSLException

Indicates whether to use a secure connection (SSL or TLS). If SSL or TLS is selected, the server’s certificate or its authority must be in protectedstore/trusted.jks.
 
Error while sending
 
javax.mail.MessagingException: Could not convert socket to TLS; nested exception is: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
 
Solution ( Change to your Java version on PC ) 

C:\BizLink\app\protectedstore>”C:\Program Files\Java\jre1.8.0_241\bin\keytool.exe” -importkeystore -srckeystore “C:\Program Files\Java\jre1.8.0_241\lib\security\cacerts” -destkeystore trusted.jks
Importing keystore C:\Program Files\Java\jre1.8.0_241\lib\security\cacerts to trusted.jks…

“By default, the password for the GlassFish truststore is already specified. The password is changeit .”


Enter destination keystore password:
Enter source keystore password:
Entry for alias verisignclass2g2ca [jdk] successfully imported.

After you will need to restart OpenText BizManager BizLink Msgsrv and OpenText BizManager BizLink Configuration Services

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...