systemtruststores / systemtruststores.github.io

Website
0 stars 0 forks source link

Language support: Perl #4

Open chriskilding opened 2 years ago

chriskilding commented 2 years ago

Tracking support for native TLS certificate verification in Perl.

Libraries:

chriskilding commented 2 years ago

This can be tested with the following hello world example:

use LWP::Simple;

getprint("https://www.example.com");

Note that HTTPS/TLS support was extracted from LWP a long time ago, so the LWP::Protocol::https module must be installed separately. If you run the example without installing this module you'll get 500 Can't verify SSL peers without knowing which Certificate Authorities to trust <URL:https://www.example.com>