Enabling SSL in Perl clients - BlueCat Address Manager - 9.1.0

Address Manager API Guide

prodname
BlueCat Address Manager
version_custom
9.1.0

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 continue to operate under the higher security implemented in Address Manager v3.7.1 and greater, 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.
    $ENV{'PERL_LWP_SSL_VERIFY_HOSTNAME'} = 0;
    This line will disable the validation of SSL certifications for the context of the execution.