Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Connecting to ExactTarget

Avatar

Level 3

Hi,

I am having problems connecting my localhost AEM environment to ExactTarget by following these guidelines:
https://docs.adobe.com/docs/en/aem/6-0/administer/integration/third-party-services/exacttarget.html

I have also setup an API Integration point with all read access (at the moment as I'm just trying to connect) on the ExactTarget side at this URL:
http://appcenter.exacttarget.com

When setting up the configuration in AEM, I am using the "Client ID" and "Client Secret" as the "Username" and "Password" and the S4 endpoint.

I receive an error with the log information below. 

Can someone help steer me in the right direction?

1 Accepted Solution

Avatar

Correct answer by
Administrator

Hi 

The problem appears when your server has self signed certificate. To workaround it, you can add this certificate to the list of trusted certificates of your JVM.

In this article author describes how to fetch the certificate from your browser and add it to cacerts file of your JVM. You can either edit JAVA_HOME/jre/lib/security/cacerts file or run you application with-Djavax.net.ssl.trustStore parameter. Verify which JDK/JRE you are using too as this is often a source of confusion.

See also: How are SSL certificate server names resolved/Can I add alternative names using keytool?If you run into java.security.cert.CertificateException: No name matching localhost foundexception.

Link:- http://stackoverflow.com/questions/6908948/java-sun-security-provider-certpath-suncertpathbuilderexc...

 

Also,

Problem

Attempting to access applications that are encrypted with SSL (for example HTTPS, LDAPS, IMAPS) throws an exception and the connection is refused. This can happen when attempting to establish a secure connection to any of the following:

  • Active Directory server
  • Mail server 
  • Another Atlassian application using Application Links

The following appears in the logs:

    
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.

Solution:- https://confluence.atlassian.com/display/KB/Unable+to+Connect+to+SSL+Services+due+to+PKIX+Path+Build...

I hope this would help you.

Thanks and Regards

Kautuk Sahni



Kautuk Sahni

View solution in original post

2 Replies

Avatar

Level 9

Hi Gunars V,

Are you running your AEM on https?. Because it seems to me that real issue with the certification of client & server. Exacttarget server connectivity might be failing because of mismatch in certification. Please check that.

These issues happen in other cases as well. For more details, here is the article.

https://confluence.atlassian.com/display/KB/Unable+to+Connect+to+SSL+Services+due+to+PKIX+Path+Build...

---

Jitendra

Gunars Vilcins wrote...

Hi,

I am having problems connecting my localhost AEM environment to ExactTarget by following these guidelines:
https://docs.adobe.com/docs/en/aem/6-0/administer/integration/third-party-services/exacttarget.html

I have also setup an API Integration point with all read access (at the moment as I'm just trying to connect) on the ExactTarget side at this URL:
http://appcenter.exacttarget.com

When setting up the configuration in AEM, I am using the "Client ID" and "Client Secret" as the "Username" and "Password" and the S4 endpoint.

I receive an error with the log information below. 

Can someone help steer me in the right direction?

 

Avatar

Correct answer by
Administrator

Hi 

The problem appears when your server has self signed certificate. To workaround it, you can add this certificate to the list of trusted certificates of your JVM.

In this article author describes how to fetch the certificate from your browser and add it to cacerts file of your JVM. You can either edit JAVA_HOME/jre/lib/security/cacerts file or run you application with-Djavax.net.ssl.trustStore parameter. Verify which JDK/JRE you are using too as this is often a source of confusion.

See also: How are SSL certificate server names resolved/Can I add alternative names using keytool?If you run into java.security.cert.CertificateException: No name matching localhost foundexception.

Link:- http://stackoverflow.com/questions/6908948/java-sun-security-provider-certpath-suncertpathbuilderexc...

 

Also,

Problem

Attempting to access applications that are encrypted with SSL (for example HTTPS, LDAPS, IMAPS) throws an exception and the connection is refused. This can happen when attempting to establish a secure connection to any of the following:

  • Active Directory server
  • Mail server 
  • Another Atlassian application using Application Links

The following appears in the logs:

    
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.

Solution:- https://confluence.atlassian.com/display/KB/Unable+to+Connect+to+SSL+Services+due+to+PKIX+Path+Build...

I hope this would help you.

Thanks and Regards

Kautuk Sahni



Kautuk Sahni