認証局から発行されるサイト証明書を使用する前にテストを行いたい場合のみ、テスト用サイト証明書を利用できます。テスト用サイト証明書の作成例を以下に示します。
注意
テスト用サイト証明書は、テスト環境のみ利用できます。
実際の運用では、テスト用サイト証明書は利用しないでください。
以下の設定値を使って、コマンドの実行例を示します。
・テスト用サイト証明書のニックネーム:testCert ・英数字氏名:ssoserver.example.com ・英数字組織単位名:FUJITSU TOKYO ・英数字組織名:FUJITSU ・市区町村名:Shinjuku ・都道府県名:Tokyo ・国名:jp
入力したパスワードは表示されません。初回はパスワード登録となります。入力したパスワードの確認のため表示された情報で証明書を作成する場合、"yes"を入力してください。入力し直す場合には、"no"を入力してください。
【Windows】
scsmakeenv -n testCert New Password: Retype: Input X.500 distinguished names. What is your first and last name? [Unknown]: ssoserver.example.com What is the name of your organizational unit? [Unknown]: FUJITSU TOKYO What is the name of your organization? [Unknown]: FUJITSU What is the name of your City or Locality? [Unknown]: Shinjuku What is the name of your State or Province? [Unknown]: Tokyo What is the two-letter country code for this unit? [Un]: jp Is <CN=ssoserver.example.com, OU=FUJITSU TOKYO, O=FUJITSU, L=Shinjuku, ST=Tokyo,C=jp> correct? [no]: yes SCS: 情報: scs0102: 自己署名証明書を作成しました。
【Linux】
実行例では、Bourneシェルを使用しています。
# JAVA_HOME=/opt/FJSVawjbk/jdk5;export JAVA_HOME # scsmakeenv -n testCert New Password: Retype: Input X.500 distinguished names. What is your first and last name? [Unknown]: ssoserver.example.com What is the name of your organizational unit? [Unknown]: FUJITSU TOKYO What is the name of your organization? [Unknown]: FUJITSU What is the name of your City or Locality? [Unknown]: Shinjuku What is the name of your State or Province? [Unknown]: Tokyo What is the two-letter country code for this unit? [Un]: jp Is <CN=ssoserver.example.com, OU=FUJITSU TOKYO, O=FUJITSU, L=Shinjuku, ST=Tokyo,C=jp> correct? [no]: yes UX:SCS: 情報: scs0102: 自己署名証明書を作成しました。 #
注意
Interstage証明書環境を構築済の場合、Interstage証明書環境のパスワードの入力が要求されるので、Interstage証明書環境構築時に設定したパスワードを入力してください。