IdPのサービス動作状況を確認する
以前構築したIdPにて、以下のURLで 404 Not Found エラーが発生する場合は、まず インストール(IdP) の virtualhost-localhost80.conf
の設定を確認してください。
1.httpd と Jetty を再起動
IdPの設定変更後に各サービスの再起動を行っていない場合は、行ってください。
# systemctl stop jetty # systemctl restart httpd # systemctl start jetty
2.動作状況確認URLにアクセス
IdPサーバ自身から以下のようにアクセスして確認します。
※ホスト名は必ず 127.0.0.1として下さい。
IPv6アドレスでのアクセス制限がうまくいかない場合があります。
# wget -O - http://127.0.0.1/idp/status
3.結果の確認
各サービスの動作状況が確認できます。以下のようにShibboleth IdPのバージョンを含めて各種情報が表示され、以下と比較して大きな違いがなければ、IdPの機能が正常に動作していることの確認が出来ました。
--2020-10-20 15:13:01-- http://127.0.0.1/idp/status
Connecting to 127.0.0.1:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2374 (2.3K) [text/plain]
Saving to: ‘STDOUT’
0% [ ] 0 --.-K/s
### Operating Environment Information
operating_system: Linux
operating_system_version: 3.10.0-514.6.1.el7.x86_64
operating_system_architecture: amd64
jdk_version: 11.0.8
available_cores: 1
used_memory: 178 MB
maximum_memory: 1500 MB
### Identity Provider Information
idp_version: 4.0.1
start_time: 2020-10-20T06:13:02.027Z
current_time: 2020-10-20T06:13:04.023076Z
uptime: 1996 ms
service: shibboleth.LoggingService
last successful reload attempt: 2020-10-09T10:04:48.292156Z
last reload attempt: 2020-10-09T10:04:48.292156Z
service: shibboleth.AttributeFilterService
last successful reload attempt: 2020-10-09T10:04:52.910079Z
last reload attempt: 2020-10-09T10:04:52.910079Z
service: shibboleth.AttributeResolverService
last successful reload attempt: 2020-10-09T10:04:53.177978Z
last reload attempt: 2020-10-09T10:04:53.177978Z
No Data Connector has ever failed
service: shibboleth.AttributeRegistryService
last successful reload attempt: 2020-10-09T10:04:54.400538Z
last reload attempt: 2020-10-09T10:04:54.400538Z
service: shibboleth.NameIdentifierGenerationService
last successful reload attempt: 2020-10-09T10:04:54.975554Z
last reload attempt: 2020-10-09T10:04:54.975554Z
service: shibboleth.RelyingPartyResolverService
last successful reload attempt: 2020-10-09T10:04:55.195913Z
last reload attempt: 2020-10-09T10:04:55.195913Z
service: shibboleth.MetadataResolverService
last successful reload attempt: 2020-10-09T10:04:56.695849Z
last reload attempt: 2020-10-09T10:04:56.695849Z
metadata source: ShibbolethMetadata
last refresh attempt: 2020-10-20T04:05:06.342026Z
last successful refresh: 2020-10-20T04:05:06.342026Z
last update: 2020-10-09T10:05:03.690858Z
metadata source: HTTPMetadata
last refresh attempt: 2020-10-20T04:05:06.342026Z
last successful refresh: 2020-10-20T04:05:06.342026Z
last update: 2020-10-09T10:05:03.690858Z
root validUntil: 2020-10-21T23:00:00Z
service: shibboleth.ReloadableAccessControlService
last successful reload attempt: 2020-10-09T10:04:58.927762Z
last reload attempt: 2020-10-09T10:04:58.927762Z
service: shibboleth.ReloadableCASServiceRegistry
last successful reload attempt: 2020-10-09T10:04:59.050186Z
last reload attempt: 2020-10-09T10:04:59.050186Z
service: shibboleth.ManagedBeanService
last successful reload attempt: 2020-10-09T10:04:59.148954Z
last reload attempt: 2020-10-09T10:04:59.148954Z
100%[======================================================================================================>] 2,374 --.-K/s in 0s
2020-10-20 15:13:04 (371 MB/s) - written to stdout [2374/2374]