Commit 93061f53 authored by Dietmar Maurer's avatar Dietmar Maurer

add comment about why we do not use the CA file

parent a7f44ea4
...@@ -205,7 +205,10 @@ sub proxy_handler { ...@@ -205,7 +205,10 @@ sub proxy_handler {
debug_msg("proxy start $method $host:$abs_uri"); debug_msg("proxy start $method $host:$abs_uri");
my $ua = LWP::UserAgent->new( my $ua = LWP::UserAgent->new(
# keep it simple - we are on internal network, and use tickets
ssl_opts => { verify_hostname => 0 }, ssl_opts => { verify_hostname => 0 },
# using the pve root CA file would be another option
# ssl_opts => { verify_hostname => 1 , SSL_ca_file => "/etc/pve/pve-root-ca.pem },
protocols_allowed => [ 'http', 'https' ], protocols_allowed => [ 'http', 'https' ],
timeout => 30, timeout => 30,
); );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment