Install the libio-socket-ssl-perl package with the apt command for HTTPS access in Perl. Run with administrator privileges using sudo.
sudo apt install -y libio-socket-ssl-perl
Perl's IO::Socket::SSL module is installed. Net::SSLeay also depends on IO::Socket::SSL, so it will be installed.
Access HTTPS using HTTP::Tiny
(The following is as of May 16, 2020 and has not been tried yet)
Perl's core module, HTTP::Tiny, transparently supports HTTPS access using IO::Socket::SSL.