Fix 'SSL Error: SELF_SIGNED_CERT_IN_CHAIN' error