RE: How to debug "Test CAS configuration" failure?

Janus Godard, modified 12 Years ago. New Member Posts: 17 Join Date: 8/1/13 Recent Posts
Hi,

When setting up a Liferay 6.1.1 portal with JASIG CAS (on different servers, with self-signed certificates), my "Test CAS configuration" says my URLs are unreachable. How do I debug this?

I don't see anything in the logs. Is there some logging levels I should change? which ones?

Thanks in advance,

Janus
thumbnail
Krzysztof Gołębiowski, modified 12 Years ago. Liferay Master Posts: 549 Join Date: 6/25/11 Recent Posts
First of all check if you can reach all URL's from the server. Then check your SSL cert, common problem that gives the same symptoms is self-generated certificate installed on CAS, that is not accepted by java http client used by Liferay ("URL is unreachable" with no messages in logs).
thumbnail
Fernando Fernandez, modified 7 Years ago. Expert Posts: 401 Join Date: 8/22/07 Recent Posts
Krzysztof Gołębiowski:
(...)common problem that gives the same symptoms is self-generated certificate installed on CAS, that is not accepted by java http client used by Liferay(...)

Same problem here. I'm on a test machine, no way to get a good certificate. 

Any way to make the http client accept self signed certificates?

TIA

 

Fernando