比較バージョン

キー

  • この行は追加されました。
  • この行は削除されました。
  • 書式設定が変更されました。

...

展開
titleバージョン2.4以降の場合

(★) 

パネル
borderColor#cccccc
bgColor#eeeeee
borderStylesolid
※「</Sessions>」の直前に行を挿入してください。
            <!-- JSON feed of discovery information. -->
            <Handler type="DiscoveryFeed" Location="/DiscoFeed"/>
            <SessionInitiator type="Chaining" Location="/DS" isDefault="true" id="DS">
                 <SessionInitiator type="SAML2" template="bindingTemplate.html"/>
                 <SessionInitiator type="Shib1"/>
                 <SessionInitiator type="SAMLDS" URL="https://test-ds.gakunin.nii.ac.jp/WAYF"/>
                                ↑DSサーバの設定
             </SessionInitiator> 
        </Sessions>
   (省略)

 ※端末のサイズによっては表記がずれる可能性がございます。画面を広くしてご覧ください。 

...

 ・検証に用いる検証用証明書(gakunin-signer-2010.cer)をダウンロードして、 /etc/shibboleth/cert/に置きます。
(上記は運用フェデレーションの場合の証明書で、テストフェデレーションの場合はgakunin-test-signer-2011.cerをダウンロードして使用してください。)

(★)
ヒント
title実習セミナー

 証明書は、初期設定で「/root/GETFILE」に取得したex-fed.crtを使用します。


 「/etc/shibboleth/cert」配下にコピーしてください。


 #

cp

/root/GETFILE/ex-fed.crt

/etc/shibboleth/cert/

 

・メタデータを自動的にダウンロードする設定を行います。(★)

  /etc/shibboleth/shibboleth2.xml ファイルを以下のように編集してください。

ヒント
title実習セミナー
(★)

・実習セミナー内のDSサーバよりメタデータを自動ダウンロードします。


・実習セミナー内のDSサーバよりメタデータを自動ダウンロードします。

 参照先のuriは、以下を設定してください。(実習セミナー内の公開メタデータ)


 https://ex-ds.ecloud.nii.ac.jp/fed/ex-fed-metadata.xml


・自動ダウンロードするメタデータの署名検証用の証明書を設定します。


 先ほどコピーした、実習セミナー用の証明書「ex-fed.crt」を参照するように設定します。


 /etc/shibboleth/cert/ex-fed.crt

パネル
borderColor#cccccc
bgColor#eeeeee
borderStylesolid
        <!-- Example of remotely supplied batch of signed metadata. -->
        <!-- --> ←コメントアウト解除
        <MetadataProvider type="XML" uri="https://metadata.gakunin.nii.ac.jp/gakunin-metadata.xml"
                                           ↑参照先のuriを設定
              backingFilePath="federation-metadata.xml" reloadInterval="7200">
            <MetadataFilter type="RequireValidUntil" maxValidityInterval="1296000"/>
                                                                           ↑validUntilの検証設定
            <MetadataFilter type="Signature" certificate="/etc/shibboleth/cert/gakunin-signer-2010.cer"/>
                                                           ↑自動更新メタデータの検証用証明書設定 
        </MetadataProvider>
        <!-- -->  ←コメントアウト解除

...