SSLPeerUnverifiedException: peer not authenticated
Hello, I'm trying to setup service at SMP which should connect to our NW Gateway using SSL. But when I'm trying to ping endpoint service I see error
"Backend system cannot be reached"
Error in the server.log -
2014 08 01 10:59:24#+0300#ERROR#com.sap.mobile.platform.server.online.admin.ping.PingService##anonymous#http-bio-8083-exec-4###Exception:::Root cause::: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated|
I added NW cer file to smp_keystore.jks and sapjvm keystore, but it doesn't help. NW certificate is self signed, can it be the cause of problem?
P.S. version of SMP is 3.0.0
Jitendra Kansal replied
Has your problem been resolved?
I encountered the same issue recently. This is how i was able to resolve it:
1. Set the JAVA Env Variables
JAVA_HOME : C:\Program Files\Java\jdk1.8.0_05
PATH: C:\Program Files\Java\jdk1.8.0_05\bin
2. Since it is HTTPS based backend destination, import its certificate to SMP keystore file
Run this below under C:\SAP\MobilePlatform3\Server\configuration
keytool -import -v -alias sapgatewaycert -keystore smp_keystore.jks -storepass changeit -file c:\certificatelocation.cer
where changeit: smp keystore password (you must have set it during SMP server installation)
3. Press 'Y' for confirmation
4. Restart SMP server machine.