I have a Perl program which monitors my connection to the internet by requesting HTTP headers from selected websites.
I’m getting the error “500 Can’t verify SSL peers without knowing which Certificate Authorities to trust” and when I google that error, I find https://www.perlmonks.org/?node_id=892166 which says I need to reinstall/update LWP::UserAgent and install/update Mozilla::CA.
It goes on to give an example:
sudo cpan install LMP::UserAgent Mozilla::CA
which fails for me with cpan not found. I’m on Core 169. What do I need to do to fix this?
BTW, I started receiving this error on 2022-03-29. Not sure which Core version that corresponds to. My internet has been pretty solid up until today so I hadn’t checked the log file in a few months.