-1

I keep getting Connection Failed when trying to request data from a page that is on an https:// domain. I did install the ssl cert using the built-in section of the railo admin at https://[mydomain]/railo-context/admin/server.cfm?action=services.certificates however I still get Connection Failed. How should I go forward with debugging this? I have confirmed that this server in particular does have access to the domain I am trying to request from.

Kevin B
  • 94,570
  • 16
  • 163
  • 180
  • 1
    You may need to install the entire certificate chain, not just the site cert. Try adding the intermediate cert, if there is one, and the root cert. – Jason Dean Jul 31 '12 at 22:20
  • @JasonDean Thanks for the suggestion. I added both the root and the intermediate cert, but I'm still having the same problem. – Kevin B Aug 01 '12 at 14:50

2 Answers2

2

You probably need some additional certs installed as Jason has said. Take a close look at the cert and it's chain. Go to the cert issuers site and look for some documentation.

To troubleshoot you can add some logging to your jvm args. I think it's something like:

-Djavax.net.debug=all 

The results are either in the OUT log or the server.log. This post on SSL 3.0 has some debugging tips. It's possible that your cert needs to handshake at a lower security level than CF allows (SSL 2.0 instead of 3.0/TLS for instance) and that could cause this behavior - but it's more likely that you simply need an intermediate cert installed.

Mark A Kruger
  • 7,183
  • 20
  • 21
  • Thank you for mentioning the `-Djavax.net.debug=all`, this ultimately lead to finding out that we had a user permissions problem with our server. – Kevin B Aug 01 '12 at 17:22
1

The problem ended up being the permissions weren't setup properly on the machine. After we had the server administrator fix our permissions to access the Railo-Tomcat Service Control, the requests started working. I'm assuming he fixed some other permissions while he was in there.

Kevin B
  • 94,570
  • 16
  • 163
  • 180
  • Kevin, do you know exactly what permissions were fixed. I know it's been a while. I'm having the same issue. My environment is ubuntu 14.04 / tomcat7 / railo 4.2 – PeterKA Nov 17 '16 at 23:32