How to resolve "Could not run local repository replication for 'xxxxx': handshake alert: unrecognized_name" error?

How to resolve "Could not run local repository replication for 'xxxxx': handshake alert: unrecognized_name" error?

AuthorFullName__c
JFrog Support
articleNumber
000001351
ft:sourceType
Salesforce
FirstPublishedDate
2016-10-06T13:38:18Z
lastModifiedDate
2023-02-26T15:03:57Z
VersionNumber
3

 

In Artifactory's Replication Properties, you may see the following error, when you run "Test" or run a replication:

 

Could not run local repository replication for 'xxxxx': handshake alert: unrecognized_name

 

This error could be shown if the web server's certificate has Common Name or Subject Alternate Names (SAN) that does not match what is configured in your web server. For example, if your certificate has Common Name = *.yoursite.com, but you use "localhost" in your Apache's httpd-ssl.conf file, then you may encounter this issue.

 

Please see your webserver's logs to help debug the issue.

 

Furthermore, here is a detailed solution to trust the remote site's certificate: https://support.jfrog.com/solution/articles/1000203899