+use Net::SSLeay; |
+ |
+# set CA.cert file for self signed certification - fix problems with new version IO::Socket::SSL
|
+BEGIN { |
+ IO::Socket::SSL::set_ctx_defaults( |
+ verify_mode => Net::SSLeay->VERIFY_PEER(), |
+ ca_file => "/etc/ssl/certs/ca.cert" |
+ ); |
+} |