CAS 6.1.6 Google reCAPTCHA Integration

72 views
Skip to first unread message

mohammad almodallal

unread,
Jun 3, 2020, 3:00:57 AM6/3/20
to CAS Community
Hi,

I have deployed CAS 6.1.6 with  Google reCAPTCHA Integration as follow:

(1) build.gradle

compile "org.apereo.cas:cas-server-support-captcha:${project.'cas.version'}"

 (2)  cas.properties 

cas.googleRecaptcha.enabled=true
cas.googleRecaptcha.siteKey=6LeXxxxxxx
cas.googleRecaptcha.secret=6LeXxxxxxxx
cas.googleRecaptcha.invisible=false
cas.googleRecaptcha.position=bottomright

(3) create the required account and site at Google Services for reCAPTCHA

(4)  But still getting reCAPTCHA validation failed., in the Log I can see the following error

^[[1;31m2020-06-03 09:54:04,753 ERROR [org.apereo.cas.util.HttpUtils] - <Connection reset>^[[m
javax.net.ssl.SSLException: Connection reset


any Idea, please?

Thank all.


Root

unread,
Jun 4, 2020, 7:12:24 AM6/4/20
to CAS Community


The error is not clear and full,  make sure you use TLS 1.2 and above for CAS server, is your CAS server SSL properly configured?, also you need to tell how is your CAS setup, (ex: tomcat+CAS or apache+tomcat+CAS, etc....)
Reply all
Reply to author
Forward
0 new messages