Enabling SSL in Perl clients - BlueCat Integrity - 9.3.0

Address Manager API Guide

Locale
English
Product name
BlueCat Integrity
Version
9.3.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 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.
    $ENV{'PERL_LWP_SSL_VERIFY_HOSTNAME'} = 0;
    This line will disable the validation of SSL certifications for the context of the execution.