How to resolve "unable to find valid certification path to requested target" error?

How to resolve “unable to find valid certification path to requested target” error?

Guy Cohen 2020-01-13 17:00 Subject Issue with establishing a trusted connection over SSL from Artifactory to a remote site. Detail You may run into the following error message during replication and other tasks that require connecting to a remote server: [ERROR] (o.a.a.r.c.BaseReplicationProducer:97) – Error occurred while performing folder replication for 'XXXX': sun.security.validator.ValidatorException: PKIX path building … Continue reading How to resolve “unable to find valid certification path to requested target” error?