The config option is named "validate_ssl_cert" which implies:
true -> unvalid certs will be rejected
false -> unvalid certs will be accepted
But in the code we had setAcceptAnyCertificate(validate_ssl_cert) which needs to be setAcceptAnyCertificate(!validate_ssl_cert) to make sense.
The config option is named "validate_ssl_cert" which implies: true -> unvalid certs will be rejected false -> unvalid certs will be accepted But in the code we had
setAcceptAnyCertificate(validate_ssl_cert)
which needs to besetAcceptAnyCertificate(!validate_ssl_cert)
to make sense.