09-04-2013 08:40 AM
Trying to install the API for Windows x64. Had to use a newer version of PPM (22.214.171.1244). Was able to run the following successfully:
ppm install Crypt-SSLeay
ppm install libwww-perl -force
Next, trying to install the repository I get this:
ppm repo add Infoblox_Grid https://XX.XX.XX.XX/api/dist/ppm
Downloading Infoblox_Grid packlist...failed 500 Can't connect to XX.XX.XX.XX:4
43 (certificate verify failed)
I am unable to find any solution as of yet. We primarily use the API for bulk imports/exports.
Thanks for the assistance!
02-22-2013 09:28 AM
The SSL certificate isn't matching up with the name of the host, so you're getting a certificate failure.
You need to disable certificate checking. You can do that by setting the environment variable PERL_LWP_SSL_VERIFY_HOSTNAME to 0 before running the script.
02-22-2013 11:59 AM
Not sure exactly which flavor of windows you're working with, but this should get you close to the answer. Information on configuring PPM is here:
Here's a good overview of how to set environment variables on windows:
02-22-2013 12:19 PM
We are running Windows 7.
I know how to set a Windows environment variable but this looks like I need to set a Perl/PPM variable? I thought about that "setx" but not sure what format the variable is supposed to be in. How is it supposed to look? For example:
setx $ENV .....
And if I could add it the Windows variable, what is the variable name? and what should the value look like?
Thanks for all the replies!
02-22-2013 02:49 PM
You set a variable in the windows environment that the perl enviroment will read when it starts up that causes it to change its behavior. It's the equivalent of a SETENV on a unix system if yuo're familiar with that.