Questions tagged [io-socket-ssl]
3 questions
5
votes
2 answers
Perl LWP: why does IO::Socket::SSL use TLS 1.0, while Net::SSL uses TLS 1.2?
When I run the following code:
use strict;
use warnings;
use IO::Socket::SSL;
use LWP::UserAgent;
my $ua = LWP::UserAgent->new(ssl_opts => {
verify_hostname => 0,
});
my $res = $ua->get('https://internal.foo.bar.baz:20002');
print…

Matt Jacob
- 6,503
- 2
- 24
- 27
3
votes
1 answer
IO::Socket::SSL seems to be ignoring SSL_VERIFY_NONE
IO::Socket::SSL seems to be ignoring SSL_VERIFY_NONE; this is on OSX 10.14.1 with perl 5.18.2 and CentOS 6.10 with perl 5.10.1:
#!/usr/bin/perl
#
# sslt
#
# Test ssl connections to self-signed sites
#
use strict;
use warnings;
use…

abatie
- 169
- 3
- 10
2
votes
3 answers
How to verify self-signed certificate?
I use Net::Jabber::Client to send messages via XMPP.
The server I am connecting to uses self-signed certificate:
DEBUG: .../IO/Socket/SSL.pm:2853: new ctx 45728400
DEBUG: .../IO/Socket/SSL.pm:1540: start handshake
DEBUG: .../IO/Socket/SSL.pm:717:…

Eugen Konkov
- 22,193
- 17
- 108
- 158