Replication : PKIX path building failed:

 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

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 prevent DOS attacks in AEM ?

How to Sync HMAC in AEM ?

Configure/Decoding AEM AuditLogs

ENABLE LOGGING OF THE X-FORWARDED-FOR HEADER

How to configure s3 in AEM ?

Managing AEM Repository Size Growth ?

How to Integrate LDAP with AEM ?

How to WhiteList IP through AEM Dispatcher ?