Is there a Perl module for SSL / TLS support?

Does Perl support SSL / TLS through core modules?

I am using HTTP::Tiny and want to extract the https url without installing any library and dependent external libraries and XS.

Is it possible to allow HTTP::Tiny to work with SSL without using OpenSSL or is there any pure Perl module for retrieving data using SSL from the box without the need for XS modules?

+7
perl ssl
source share
2 answers

SSL / TLS support is provided by Net :: SSLeay and IO :: Socket :: SSL . Modules such as the HTTP :: Tiny and LWP interface with the OpenSSL routine through these layers.

There is no kernel or pure Perl module that supports HTTPS.

+7
source share

First, you can avoid using XS with the Protocol :: TLS module. This is pure perl and you can use it over the main socket module.

Secondly, you can avoid using OpenSSL with Crypt :: MatrixSSL. MatrixSSL seems easy and safe. See IO :: Stream :: MatrixSSL, for example, code.

-one
source share

All Articles