in reply to Seeking help with HTTPS form upload.
All my reading into examples has led me to the following code.my $ua=LWP::UserAgent->new(ssl_opts => { SSL_verify_mode => IO::Socket::SSL::SSL_VERIFY_NONE, verify_hostname => 0, });
No doubt there is a lot of publicly-visible code which encourages the disablement of such verification but that does not mean it is not really bad practice. Far better to pass no args to new at all or else explicitly switch on all the verification instead.
🦛
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Seeking help with HTTPS form upload.
by FeistyLemur (Acolyte) on Oct 13, 2021 at 16:05 UTC | |
by hippo (Archbishop) on Oct 13, 2021 at 23:05 UTC | |
by FeistyLemur (Acolyte) on Oct 14, 2021 at 18:42 UTC |