Replication : PKIX path building failed: peer not authenticated
![Image](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFd9Yf2D4fhnj80oTN-ihhsUlUOaYv4KEtt9KJJaVBhiA2uF2lnJ6z02AXBVJQ6Uhg6ort-qNiUQYxtJCJNNnDoeFmzi6s8kDxgN373KmOSAQMW75A9OX_e3sb6fduGb2a0FXKbUXDn5w/w640-h294/replication.png)
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 - Login to AEM , open replication agent which has the error. Edit the replication agent Go to transport Make ssl to R elaxed .