...
本メニューでは、IdPをカスタマイズします。
IdP Ver3が正常に起動している環境に対して、Ver4にアップグレードします。
ベースがIdP v3.2となっているところを、一度IdP v3.4にアップグレードしてからIdP v4にアップグレードします。
設定ファイルについては、自動的にコンバートされたものを使用して認証確認まで行います。
...
2. 実習セミナーでは
以下の手順で作業を進めてください。以下は、本環境での関連情報となります。
...
詳細な手順については、「3.手順」を参照ください。
パネル | ||||||
---|---|---|---|---|---|---|
| ||||||
|
・Shibboleth Ver3.2のバックアップ
...
また、以下にはIdP v4の動作に必要なJava11とTomcat9のインストール手順を記載しています。
・IdPのパッケージ
パネル | ||||||
---|---|---|---|---|---|---|
| ||||||
|
・Tomcat 7の起動
パネル | ||||||
---|---|---|---|---|---|---|
| ||||||
|
...
|
・ShibbolethIdP インストール
パッケージは、以下のように/root/PKG配下に配置しています。
パネル | ||||||
---|---|---|---|---|---|---|
| ||||||
|
...
以降は、IdP4へのアップグレード時にJava11とTomcat9をインストールする手順となります。
・Tomcat 7のアンインストール
パネル | ||||||||
---|---|---|---|---|---|---|---|---|
|
・所有者、パーミッションの設定(server.key)
パネル | ||||||
---|---|---|---|---|---|---|
| ||||||
|
・Tomcat 7の停止
パネル | ||||||
---|---|---|---|---|---|---|
| ||||||
|
・Tomcat 7のバックアップ
以下のように/root直下に移動して、念のためバックアップを行います。
パネル | ||||||
---|---|---|---|---|---|---|
| ||||||
|
・Tomcat 7のアンインストール
|
・jakarta-taglibs-standardのアンインストール
パネル | ||||||
---|---|---|---|---|---|---|
| ||||||
|
...
|
・JDK 8のアンインストール
パネル | ||||||
---|---|---|---|---|---|---|
| ||||||
|
...
パネル | ||||||
---|---|---|---|---|---|---|
| ||||||
|
・ShibbolethIdP Ver4のインストール
パッケージは、以下のように/root/PKG配下に配置しています。
パネル | ||||||
---|---|---|---|---|---|---|
| ||||||
# cd /root/PKG |
install.shシェルスクリプトを実行すると、以下のような問い合わせがあります。
手順に従って、進めてください。
...
borderColor | #cccccc |
---|---|
bgColor | #eeeeee |
borderStyle | solid |
Buildfile: /root/PKG/shibboleth-identity-provider-4.0.1/bin/build.xml
install:
Source (Distribution) Directory (press <enter> to accept default): [/root/PKG/shibboleth-identity-provider-4.0.1] ?
[Enter] ←入力なし
Installation Directory: [/opt/shibboleth-idp]
[Enter] ←入力なし
INFO [net.shibboleth.idp.installer.V4Install:155] - Update from version 3 to version 4.0.1
INFO [net.shibboleth.idp.installer.BuildWar:72] - Rebuilding /opt/shibboleth-idp/war/idp.war, Version 4.0.1
INFO [net.shibboleth.idp.installer.BuildWar:81] - Initial populate from /opt/shibboleth-idp/dist/webapp to /opt/shibboleth-idp/webpapp.tmp
INFO [net.shibboleth.idp.installer.BuildWar:90] - Overlay from /opt/shibboleth-idp/edit-webapp to /opt/shibboleth-idp/webpapp.tmp
BUILD FAILED
/root/PKG/shibboleth-identity-provider-4.0.1/bin/build.xml:20: Failed to copy /opt/shibboleth-idp/edit-webapp/WEB-INF/lib/jakarta-taglibs-core.jar to /opt/shibboleth-idp/webpapp.tmp/WEB-INF/lib/jakarta-taglibs-core.jar due to java.nio.file.NoSuchFileException /opt/shibboleth-idp/edit-webapp/WEB-INF/lib/jakarta-taglibs-core.jar
Total time: 1 minute 14 seconds
・パーミッションの調整
パネル | ||||||
---|---|---|---|---|---|---|
| ||||||
# chown -R tomcat:tomcat /opt/shibboleth-idp/logs # chmod -R g+r /opt/shibboleth-idp/conf # find /opt/shibboleth-idp/conf -type d -exec chmod -R g+s {} \; # chmod g+r /opt/shibboleth-idp/credentials/secrets.properties # chgrp tomcat /opt/shibboleth-idp/credentials/sealer.* # chmod g+r /opt/shibboleth-idp/credentials/sealer.* |
...
・jstl-1.2.jar
...
について
jstl-1.2.jarは、予め「/root/PKG」配下にあります。editIdP v4では、edit-webapp/
配下に配置し、idp.warに含めます。また、旧環境で使用した不要なファイルを削除します。
...
⑥ 正しく属性受信の確認ページが表示される事を確認してください。
...
Prevnextbuttons