Failed to connect to adobe target

Avatar

Avatar

chinmayis865517

Avatar

chinmayis865517

chinmayis865517

05-07-2020

Hi,

I am unable to connect to adobe target.

 

Capture.PNG

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Nirmal_Jose

MVP

Avatar

Nirmal_Jose

MVP

Nirmal_Jose
MVP

05-07-2020

What is the AEM and JDK version you are using.

 

I have seen this error during AEM connection to Adobe Nexus during an application build on 6.4 and JDK 1.8. The steps we followed to fix this issue are

 

1. Go to the path: <jdk-path>/Contents/Home/jre/lib/security (Usually this'll be installed in /Library/Java/JavaVirtualMachines/jdk1.8.0_102-b14.jdk/Contents/Home/jre/lib/security)

2. Go to https://www.oracle.com/java/technologies/javase-jce8-downloads.html, agree to the Terms & Conditions, and download & extract the zip file.

3. Copy the files in this zip file, and paste them into your security folder, replacing these two files.

  • local_policy.jar
  • US_export_policy.jar

Answers (2)

Answers (2)

Avatar

Avatar

Vaibhavi

MVP

Avatar

Vaibhavi

MVP

Vaibhavi
MVP

05-07-2020

Hi @chinmayis865517 , 

I have faced this issue recently when I tried connecting to other host. 

Issue is due to the server is trying to find the valid SSL certificate. 

This happens when your java version is older or when your server does not recognize the root certificate authority(CA) 

If you can access the HTTPS URL in your browser then it is possible to update Java to recognize the root CA.

In order to fix the issue please for the below steps. 

1. Launch the host which you are trying to connect in the browser. 

2. Download the certificate. 

3.Using the keytool command update the downloaded cert to java cert. Default path of java cert will be jre/lib/security/cacerts.

Below command will help you to update the cert file. 

keytool -import -alias example -keystore /path/to/cacerts -file example.crt

This will fix your issue. 

Below article explains the steps in detail on how to add certs. 

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

 

 

Avatar

Avatar

Veena_Vikram

MVP

Avatar

Veena_Vikram

MVP

Veena_Vikram
MVP

05-07-2020

Are you behind any firewall ? For example are you accessing form your office laptop which is firewall protected ?