Adobe Campaign integration issue with SSL connection

This article is about possible issue you can run into while trying to setup the connection to your Adobe Campaign using SSL connection (HTTPS).

Mainly if you have the following error in the logs:

Caused by: javax.net.ssl.SSLProtocolException: handshake alert: unrecognized_name at sun.security.ssl.ClientHandshaker.handshakeAlert(Unknown Source) at sun.security.ssl.SSLSocketImpl.recvAlert(Unknown Source) at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source) at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source) at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source) at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source) at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown Source) ... 257 common frames omitted

As possible reasons for this issue is that you run JDK 1.7.x and that some configuration are missing.

1. you can try using -Djsse.enableSNIExtension=false as jvm parameter (a server restart might be necessary here in order to take effect)

2. you can enable -Djavax.net.debug=all  to your jvm parameter to better debug SSL connection and see if any information in the logs will give more hints why it is not using the proper certificat for example.

3. you may not have imported your certificate with the following similar command on your system:

sudo keytool -import -trustcacerts -alias <your certificate alias> -file <path to>/ca.crt -keystore <path to JRE home>/lib/security/cacerts

example on MacOS:

sudo keytool -import -trustcacerts -alias <your certificate alias> -file ca.crt -keystore /Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home/jre/lib/security/cacerts

 Note from Oracle on this topic can be found here (1).

(1) http://bugs.java.com/bugdatabase/view_bug.do?bug_id=7127374

Apply to: AEM CQ 6.x

 Adobe

Saage abi kiiremini ja hõlpsamalt

Uus kasutaja?