Highlighted

CFHTTP with https not working after server IP change (CF 10, Windows Server 2008 R2)

New Here ,
Apr 17, 2015

Copy link to clipboard

Copied

Hi,

We noticed that a call to https://www.googleapis.com/ via CFHTTP stopped working after our sysadmin switched the IP of our web server.

The error from ColdFusion is:

JSON parsing failure at character 1:'C' in Connection Failure

After researching, I tried using the keytool ([CF 10 root]/jre/bin/keytool.exe to import the top-level certificate (GeoTrust Global CA), which was exported from Google Chrome 42 in DER format.

I used the following flags:

-import -v -alias GAGLOBAL -file [.cer location] -keystore cacerts -storepass [password]

It appeared to add correctly, as it displayed the owner, issuer, etc. and asked if I wanted to trust the certificate. I replied "yes", and it responded "Certificate added to keystore" [Storing cacerts]. I then restarted the CF 10 application service. The same error persists.

Please advise.

Thanks,

Dave

Views

603

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

CFHTTP with https not working after server IP change (CF 10, Windows Server 2008 R2)

New Here ,
Apr 17, 2015

Copy link to clipboard

Copied

Hi,

We noticed that a call to https://www.googleapis.com/ via CFHTTP stopped working after our sysadmin switched the IP of our web server.

The error from ColdFusion is:

JSON parsing failure at character 1:'C' in Connection Failure

After researching, I tried using the keytool ([CF 10 root]/jre/bin/keytool.exe to import the top-level certificate (GeoTrust Global CA), which was exported from Google Chrome 42 in DER format.

I used the following flags:

-import -v -alias GAGLOBAL -file [.cer location] -keystore cacerts -storepass [password]

It appeared to add correctly, as it displayed the owner, issuer, etc. and asked if I wanted to trust the certificate. I replied "yes", and it responded "Certificate added to keystore" [Storing cacerts]. I then restarted the CF 10 application service. The same error persists.

Please advise.

Thanks,

Dave

Views

604

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Apr 17, 2015 0

Have something to add?

Join the conversation