cas 5 + pacj4j+cas - SSL problem

17 views
Skip to first unread message

Yaroslav Panych

unread,
Mar 5, 2017, 7:45:49 PM3/5/17
to CAS Community
Hello

I have next setup:
cas 4.0.x - my main running CAS service
cas 5.0.3 - newer version we transitioning into
I setup Delegate Authentication on cas 5 into cas 4 using pac4j-cas module, so cas4 does authentication while we testing cas 5 features. Here we have 2 problems:

1) While in development environment, both cas-es are accessible over addresses https://localost/cas and https://localhost/cas5 SSL is self signed localy generated certificates. But cas 5 when requests /serviceValidate endpoint of cas 4(embedded cas client library) crahses with SSL-related exception, about unacceptable certificate. How I can configure to ignore that question? I saw there is NoopHostnameVerifier implementation in library, but it seems there is no property to influence that.

2) CAS5 shows login form + link to authenticate on cas 4. But I need not that form to be shown to user, I need user redirected directly to cas 4 w/o any extra user actions. Is there way to do that?

Thanks
Reply all
Reply to author
Forward
0 new messages