Re: [cas-user] CAS 5.2.0 Non-secure Connection warning

940 views
Skip to first unread message

Jérôme LELEU

unread,
Dec 14, 2017, 3:36:51 AM12/14/17
to CAS Community
Hi,

I would try: cas.server.httpProxy.secure=true
Thanks.
Best regards,
Jérôme


On Thu, Dec 14, 2017 at 1:46 AM, casuser <fazlarab...@gmail.com> wrote:
How to remove the warning "Non-secure Connection" from the log in page? I want to get rid of it because from the load balancer to the CAS server the connection will be HTTP.

I have tried the following configurations to remove the warning:


"In the event that you decide to run CAS without any SSL configuration in the embedded Tomcat container and on a non-secure port yet wish to customize the connector configuration that is linked to the running port (i.e. 8080), the following settings may apply":

cas.server.httpProxy.enabled=true
cas.server.httpProxy.secure=false ## changed from True
cas.server.httpProxy.protocol=AJP/1.3
cas.server.httpProxy.scheme=http ## changed to http
cas.server.httpProxy.redirectPort=8080
cas.server.httpProxy.proxyPort=8080
cas.server.httpProxy.attributes.attributeName=attributeValue
to disable the warning:
"Non-secure Connection You are currently accessing CAS over a non-secure connection. Single Sign On WILL NOT WORK. In order to have single sign on work, you MUST log in over HTTPS." but the warning still remains.

--
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
---
You received this message because you are subscribed to the Google Groups "CAS Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+unsubscribe@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/3a140395-7e27-469b-ace3-eb43ef89828a%40apereo.org.

casuser

unread,
Dec 14, 2017, 4:17:41 AM12/14/17
to CAS Community
Hi Jerome,

Thanks for your reply, I have changed it back to true
cas.server.httpProxy.secure=true

Still have the same warning:
"
You are currently accessing CAS over a non-secure connection. Single Sign On WILL NOT WORK."

FAZLA
To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+u...@apereo.org.
Message has been deleted

Choudhary Tanuj Badhala

unread,
Feb 13, 2020, 12:39:14 AM2/13/20
to CAS Community
Dear Sir
           Which file that we can configuration this line
To unsubscribe from this group and stop receiving emails from it, send an email to cas-...@apereo.org.

Ray Bon

unread,
Feb 13, 2020, 11:26:08 AM2/13/20
to cas-...@apereo.org
cas.properties
-- 
Ray Bon
Programmer Analyst
Development Services, University Systems

I respectfully acknowledge that my place of work is located within the ancestral, traditional and unceded territory of the Songhees, Esquimalt and WSÁNEĆ Nations.
Reply all
Reply to author
Forward
0 new messages