Connecting to a URL that requires a certificate results in " unable to find valid certification path to requested target" error