RE: I/O Exception: Name in certificate does not match host name

2015-04-09 Thread Ian Chapman
Ok thanks Dave I'll look into that idea. -Original Message- From: Dave Watts [mailto:dwa...@figleaf.com] Sent: 08 April 2015 22:47 To: cf-talk Subject: Re: I/O Exception: Name in certificate does not match host name 3) The dev API is (real domain names replaced with domain1

Re: I/O Exception: Name in certificate does not match host name

2015-04-08 Thread Dave Watts
3) The dev API is (real domain names replaced with domain1 and domain2) prerelease-api.domain2.com initially this gave the error: I/O Exception: Name in certificate `*.domain1.net' does not match host name `prelease-api.domain2.com' I tried adding to the hosts: xx.xxx.xxx.xxx

Re: I/O Exception: Name in certificate does not match host name

2015-04-08 Thread Dave Watts
I think you'll need to update the hosts file so that: prerelease-api.anotherdomain.com ...points to the right IP and then refer to: prerelease-api.anotherdomain.com ...in your code. That should make everything line up. I think this is nearly right, except that you'll need to find the IP

Re: I/O Exception: Name in certificate does not match host name

2015-04-08 Thread Byron Mann
Think what you might need is to add the SSL certificate to the java cacerts file as a trusted certificate. Then any sub-name for the domain will work. https://helpx.adobe.com/coldfusion/kb/import-certificates-certificate-stores-coldfusion.html This is a nice plugin for the CF Administrator to

Re: I/O Exception: Name in certificate does not match host name

2015-04-08 Thread John M Bliss
I think you'll need to update the hosts file so that: prerelease-api.anotherdomain.com ...points to the right IP and then refer to: prerelease-api.anotherdomain.com ...in your code. That should make everything line up. On Wed, Apr 8, 2015 at 5:23 AM, Ian Chapman ian.chap...@melodimedia.co.uk

Re: I/O Exception: Name in certificate does not match host name

2015-04-08 Thread John M Bliss
What Dave said. On Wed, Apr 8, 2015 at 10:01 AM, Dave Watts dwa...@figleaf.com wrote: I think you'll need to update the hosts file so that: prerelease-api.anotherdomain.com ...points to the right IP and then refer to: prerelease-api.anotherdomain.com ...in your code. That

RE: I/O Exception: Name in certificate does not match host name

2015-04-08 Thread Ian Chapman
I've tried it that way but no dice, let show you what I have tried: 1) Exported the cert and imported into the Truststore (this should not have been needed as it is a Thawte issued certificate which is already in the trsutstore and lack of record in the truststore causes a different IO error).