Replication : PKIX path building failed: peer not authenticated

 SSL handshake error while replication 


While configuring the SSL between author and publish servers, for a secured data flow you want to make the replication calls also over HTTPS. 




Assumption - 


    Author and publish servers will have working SSL and sling security check should be pass. 

Error - 


 Replication test failed
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
 
OR 
 
Error while sending request: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated

Cause - 


This issue comes as replication agents try to find the certificates with exact name. and it ignores the wild card certificates. 

Solution  - 

  1. Login to AEM , open replication agent which has the error.
  2. Edit the replication agent
  3. Go to transport 
  4. Make ssl to Relaxed








Comments

Popular Posts

how to clear dispatcher cache in aem ?

How to Increase Apache Request Per Second ?

Configure/Decoding AEM AuditLogs

How to Configure CSP header in AEM , Dispatcher ?

How to prevent DDoS in Apache ?

How to protect AEM against CSRF Attack ?

How Does S3 works with AEM ?

Difference between Adobe AEM Enterprise vs Adobe AEM as a Cloud Service

Security best Practice in AEM

AdobeDispatcherHacks ".statfile"