I am unable to connect to adobe target.
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.
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.
Are you behind any firewall ? For example are you accessing form your office laptop which is firewall protected ?