Trev,

Are you being redirected to localhost after log in or when you access 
https://my.server.../cas-management?

If it is before, then this could be an issue with the application container.
If it is after, it may be in the service definition for cas-management.

Ray

On Wed, 2022-05-25 at 14:25 -0700, Trevor Fong wrote:
Notice: This message was sent from outside the University of Victoria email 
system. Please be cautious with links and sensitive information.

Hi Everyone,

In an attempt to resolve my CAS Management issues, I've now upgraded to 6.5.3 
and am deploying via CASInitializr, all to no avail, still!:
# getcas --type cas-overlay --casVersion 6.5.3 --modules 
support-jpa-ticket-registry,support-jpa-service-registry,support-ldap,support-saml,support-duo,support-audit-jdbc
# getcas getcas --type cas-management-overlay --casVersion 6.5.3
After "./gradlew clean build" for both, I'm then deploying the resulting 
cas.war and cas-management.war files to a Tomcat 9 instance.

My /etc/cas/config/management.properties is:
cas.server.name=https://my.server.name
cas.server.prefix=https://my.server.name/cas

# Update this URL to point at server running this management app
mgmt.server-name=https://my.server.name

mgmt.user-properties-file=file:/etc/cas/config/users.json
mgmt.admin-roles[0]=ROLE_ADMIN
mgmt.user-roles[0]=ROLE_USER

server.servlet.context-path=/cas-management
server.port=8080

logging.config=file:/etc/cas/config/log4j2-management.xml
...

When I try to load https://my.server.name/cas-management I still get redirected 
to http://localhost:8443/cas-management

Any help would be greatly appreciated.

Thanks,
Trev


On Tuesday, May 17, 2022 at 1:55:00 PM UTC-7 Trevor Fong wrote:
Hi Mathieu

Yes - I do have an /etc/cas/config/management.properties file.  From my initial 
message:
“

In the /etc/cas/config/management.properties I have the following configured:
cas.server.name<http://cas.server.name>=https://<cas-server>
cas.server.prefix=https://<cas-server>/cas

mgmt.admin-roles[0]=ROLE_ADMIN
mgmt.user-properties-file=file:/etc/cas/config/users.properties

# Update this URL to point at server running this management app
mgmt.server-name=https://<cas-server>

server.context-path=/cas-management
server.port=443

logging.config=file:/etc/cas/config/log4j2-management.xml
“
Thanks a lot
Trev

.
On May 17, 2022, 9:42 AM -0700, Mathieu HETRU <ipsy...@gmail.com>, wrote:
Have you created the management.properties file in this place ? 
/etc/cas/config/management.properties ?

Best Regards,

Le mar. 17 mai 2022 à 18:14, Trevor Fong <tjf...@gmail.com> a écrit :
Hi Mathieu

I’ve tried those variations also to the same result.

Thanks a lot for the suggestions though.  Really appreciate any tips.

Trev

.
On May 17, 2022, 8:31 AM -0700, cas-...@apereo.org, wrote:

To

--
- 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+u...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/e27cc2eb-31f1-4181-9183-cbaeacb7275d%40Spark<https://groups.google.com/a/apereo.org/d/msgid/cas-user/e27cc2eb-31f1-4181-9183-cbaeacb7275d%40Spark?utm_medium=email&utm_source=footer>.


--
- 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+u...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAHNwO5nTgzV3HhUye-TD_Cdt6UUPe_G-56wvAX3Ky04zv-9nKQ%40mail.gmail.com<https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAHNwO5nTgzV3HhUye-TD_Cdt6UUPe_G-56wvAX3Ky04zv-9nKQ%40mail.gmail.com?utm_medium=email&utm_source=footer>.


--

Ray Bon
Programmer Analyst
Development Services, University Systems
2507218831 | CLE 019 | r...@uvic.ca<mailto:r...@uvic.ca>

I acknowledge and respect the lək̓ʷəŋən peoples on whose traditional territory 
the university stands, and the Songhees, Esquimalt and WSÁNEĆ peoples whose 
historical relationships with the land continue to this day.

-- 
- 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+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/a69b89e7446ebcd5d87349ce7adb5cdb191c6ffa.camel%40uvic.ca.

Reply via email to