Subject: | Requested doc addition |
In my usage the certificate had a CN of *.givex.com, so the host
dev-gapi.givex.com matched. However it was not an exact match so I had
to use this config:
local $Net::SSLGlue::LWP::SSLopts{SSL_ca_file} = '/path/to/file';
$Net::SSLGlue::LWP::SSLopts{SSL_verifycn_scheme} = {
wildcards_in_cn => 'anywhere',
check_cn => 'when_only'
}
That way the certificate was validated correctly. With out this I could
not connect and it took me a while to figure out what was wrong.