Explicitly set SSL_VERIFY_MODE during start ssl in Client

This commit is contained in:
Jarrod Johnson 2014-02-13 09:51:02 -05:00
parent 73b9ef07ad
commit d03dcbe5f3

View File

@ -223,6 +223,7 @@ if (ref($request) eq 'HASH') { # the request is an array, not pure XML
SSL_key_file => $keyfile,
SSL_cert_file => $certfile,
SSL_ca_file => $cafile,
SSL_verify_mode => SSL_VERIFY_PEER,
SSL_use_cert => 1,
Timeout => 0,
);