I'm not running CAS 6, so I can't tell you specifically for that release;
maybe someone else can.

--

DAVID A. CURRY, CISSP
*DIRECTOR • INFORMATION SECURITY & PRIVACY*
THE NEW SCHOOL • INFORMATION TECHNOLOGY

71 FIFTH AVE., 9TH FL., NEW YORK, NY 10003
+1 646 909-4728 • david.cu...@newschool.edu


On Thu, Jun 27, 2019 at 10:51 AM 123 456 <abcdzx...@gmail.com> wrote:

> Still not working ..
>
> The used template is the right one? I used the following:
> https://github.com/apereo/cas-overlay-template
>
>
> quinta-feira, 27 de Junho de 2019 às 12:46:12 UTC+1, David Curry escreveu:
>>
>> My apologies... I told you to comment it out, but that's the default
>> value, so it's still picking it up from the default properties. You need to
>> set it to a pattern that matches the host(s) you want to be able to access
>> it from. See this page:
>>
>>
>> https://dacurry-tns.github.io/deploying-apereo-cas/building_server_dashboard_configure-admin-pages-properties.html
>>
>>
>> for some more detail.
>>
>> --Dave
>>
>>
>> --
>>
>> DAVID A. CURRY, CISSP
>> *DIRECTOR • INFORMATION SECURITY & PRIVACY*
>> THE NEW SCHOOL • INFORMATION TECHNOLOGY
>>
>> 71 FIFTH AVE., 9TH FL., NEW YORK, NY 10003
>> +1 646 909-4728 • david...@newschool.edu
>>
>>
>> On Thu, Jun 27, 2019 at 4:46 AM 123 456 <abcd...@gmail.com> wrote:
>>
>>> I have commented out this line, but still doesn't work. I get the
>>> following error message when trying to access cas/status :
>>>
>>> [image: Capture.PNG]
>>>
>>>
>>> quarta-feira, 26 de Junho de 2019 às 18:07:19 UTC+1, David Curry
>>> escreveu:
>>>>
>>>> Unless you really want it to only be accessible from the local host
>>>> that the server is running on, you need to comment out this line:
>>>>
>>>> cas.adminPagesSecurity.ip=127\.0\.0\.1
>>>>
>>>> Or more appropriately, set it to a value that matches the IPs you want
>>>> to be able to reach the status page. It's a Java regex, so you can do just
>>>> about anything.
>>>>
>>>>
>>>> --
>>>>
>>>> DAVID A. CURRY, CISSP
>>>> *DIRECTOR • INFORMATION SECURITY & PRIVACY*
>>>> THE NEW SCHOOL • INFORMATION TECHNOLOGY
>>>>
>>>> 71 FIFTH AVE., 9TH FL., NEW YORK, NY 10003
>>>> +1 646 909-4728 • david...@newschool.edu
>>>>
>>>>
>>>> On Wed, Jun 26, 2019 at 12:09 PM 123 456 <abcd...@gmail.com> wrote:
>>>>
>>>>> Template:  https://github.com/apereo/cas-gradle-overlay-template
>>>>>
>>>>> #=================
>>>>> # cas.properties
>>>>> #=================
>>>>>
>>>>>
>>>>> server.port = ****
>>>>> cas.server.name: https://{server}:****
>>>>> cas.server.prefix: https://{server}:****/cas
>>>>>
>>>>> cas.adminPagesSecurity.ip=127\.0\.0\.1
>>>>>
>>>>> logging.config: file:/etc/cas/config/log4j2.xml
>>>>> #cas.serviceRegistry.json.location: classpath:/etc/cas/services-repo
>>>>>
>>>>> # SSL
>>>>> server.ssl.enabled=true
>>>>> server.ssl.keyStore=file:/etc/cas/thekeystore
>>>>> server.ssl.keyStorePassword=changeit
>>>>> server.ssl.keyPassword=changeit
>>>>>
>>>>> cas.authn.accept.users=
>>>>>
>>>>> #========================================
>>>>> # Service Registry
>>>>> #========================================
>>>>> cas.serviceRegistry.watcherEnabled=true
>>>>> cas.serviceRegistry.initFromJson=true
>>>>> cas.serviceRegistry.json.location=classpath:/etc/cas/services
>>>>>
>>>>> #==================================
>>>>> # Status
>>>>> #==================================
>>>>>
>>>>> cas.adminPagesSecurity.actuatorEndpointsEnabled=true
>>>>> cas.monitor.endpoints.enabled=true
>>>>> endpoints.enabled=true
>>>>>
>>>>> cas.monitor.endpoints.sensitive=false
>>>>> endpoints.sensitive=false
>>>>> cas.monitor.endpoints.status.enabled=false
>>>>> cas.monitor.endpoints.status.sensitive=true
>>>>>
>>>>> cas.adminPagesSecurity.loginUrl=https://{server}/cas/login
>>>>> cas.adminPagesSecurity.service=https://{server}/cas/status
>>>>> cas.adminPagesSecurity.users=file:/etc/cas/config/admusers.properties
>>>>> cas.adminPagesSecurity.adminRoles[0]=ROLE_ADMIN
>>>>>
>>>>>
>>>>> ***************************************
>>>>>
>>>>>
>>>>> #========================
>>>>> #  admnusers.properties
>>>>> #========================
>>>>>
>>>>> # This file lists the users who are allowed access to the CAS /status/*
>>>>> # endpoints ("adminpages").
>>>>> #
>>>>> # The syntax for each line is:
>>>>> #
>>>>> #
>>>>> username=password,grantedAuthority[,grantedAuthority][,enabled|disabled]
>>>>> #
>>>>> casuser=notused,ROLE_ADMIN
>>>>>
>>>>>
>>>>>
>>>>> ****************************************************************************
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> - 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-...@apereo.org.
>>>>> To view this discussion on the web visit
>>>>> https://groups.google.com/a/apereo.org/d/msgid/cas-user/7330ab0c-ba94-4f6d-9926-18a3d8458311%40apereo.org
>>>>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/7330ab0c-ba94-4f6d-9926-18a3d8458311%40apereo.org?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-...@apereo.org.
>>> To view this discussion on the web visit
>>> https://groups.google.com/a/apereo.org/d/msgid/cas-user/293d4552-e7cb-4f8a-bfec-983919810979%40apereo.org
>>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/293d4552-e7cb-4f8a-bfec-983919810979%40apereo.org?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+unsubscr...@apereo.org.
> To view this discussion on the web visit
> https://groups.google.com/a/apereo.org/d/msgid/cas-user/61fc8cc0-a87c-41c9-872e-17b30b0a6403%40apereo.org
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/61fc8cc0-a87c-41c9-872e-17b30b0a6403%40apereo.org?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+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CA%2Bd9XAN1Obsv2xfXu_PsTKM8hwGew0k7XZxbxdWidK1cq6m0iw%40mail.gmail.com.

Reply via email to