Signing perl script with cert
Posted on 2013-09-01
It is unclear how I need to deal with certs and perl scripts. I have created a script that downloads files from our site. My intention is to distribute this script to a few collaborators. The script needs to connect to our database so they can get certain information as well as do the file download. But when I do this, I get an error message like this:
500 Can't connect to xyz.com:443 (certificate verify failed) at lwp3.pl line 154
So I believe I need to sign the script with a cert. From previous experience working with Java, we have signed our jar files and these were distributed. But with perl, it's a script so how do I "sign" a script and will I need to distribute a cert along with the script? Users will be running this from their remote machines.