To enable SSL in Perl scripts, you need to install the Crypt-SSLeay package.
You can download the package from http://search.cpan.org/dist/Crypt-SSLeay/.
Perl scripts can use SSL in their web service calls by using https instead of http in the proxy definition.
Secure SSL requirements
To ensure that API scripts will continue to operate under the higher security
implemented in Address Manager v3.7.1 and later, the following conditions
must be met:
- Perl version must be v5.12 or later.
- When enabling SSL, you must access Address Manager
using the same host name that is defined by the SSL certificate, not the IP
address or other canonical names. If you cannot use that host name, you need
to add the following line to the beginning of the script to avoid the API
call failure due to the difference in host name as part of request and
certificate.
$ENV{'PERL_LWP_SSL_VERIFY_HOSTNAME'} = 0;
This line will disable the validation of SSL certifications for the context of the execution.