To enable SSL in Perl scripts, you must 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 operate successfully under the security requirements
of Address Manager, you must meet the following conditions:
- Perl version must be v5.12 or greater.
- When enabling SSL, you must access Address Manager
using the same hostname that is defined by the SSL certificate, not the IP
address or other canonical names. If you can't use that host name, you need
to add the following line to the beginning of the script to avoid API call
failure due to the difference in hostname as part of request and
certificate.
This line will disable the validation of SSL certifications for the context of the execution.$ENV{'PERL_LWP_SSL_VERIFY_HOSTNAME'} = 0;