Both IO::Socket::IP and IO::Socket::INET6 are capable of doing IPv4 and IPv6. And since you are explicitly giving a IPv4 address as target and even set AF_INET as domain your problem is not the use of IPv6 and you will have the same problem when disabling it.
If you look at the error it clearly says what the real problem is:
SSL accept attempt failed because of handshake problems error:14094418 +:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca
This means, that the certificate is not signed by a trusted CA. And I guess the name in the certificate will not match the name you gave in the client (i.e. the IP address). And since it complains about the certificate from the server it means that it successfully created a TCP connection to the server and got the certificate inside the SSL handshake. If IPv4 vs. IPv6 would be the problem it would already fail in establishing the TCP connection, so use of IPv6 is not your problem here.
In reply to Re: IO::Socket::SSL as IPV4
by noxxi
in thread IO::Socket::SSL as IPV4
by Bodger
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |