Skip to main content

Hello, Dear Community Members,

I hope everything's okay.

IFS cannot send e-mail. I see the error javax.net.ssl.SSLHandshakeException in the application messages.
I have analysed similar messages in the community (@Yasas Kasthuriarachchi @dsj) but I can't find any result. 

Can you help me what to do?

 

Error while sending data... 
Caused by: javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465 
Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target 
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target 
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

 

 

Best regards

Barış

Hello Community,

The relevant issue has been resolved by me. Details are as follows.

1-) Export the certificate file with a web browser

2-) Go to IFS_HOME/java/jre/bin in Command Prompt

3-) Install the certificate file with keytool.exe

keytool -import -noprompt -trustcacerts -alias <IFS_INSTANCE_NAME> -file <FILE_PATH_TO_THE_CERTIFICATE_FILE> -keystore ..\lib\security\cacerts -storepass changeit

Source: https://magicmonster.com/kb/prg/java/ssl/pkix_path_building_failed/

 

Regards

Barış


Reply