OCSP を構成および有効にしてから、CAC カード認証を使用して vSphere Web Client にログインすると失敗して、次のようなエラーが表示されます。 「送信された認証情報を検証できませんでした」 ("Unable to validate the submitted credential") |
6.0 Update 3 でサポートされているオプションを使用して代わりの OCSP レスポンダ証明書を設定するには、次の手順を実行します。
sso-config.sh -set_authn_policy -t vsphere.local -ocspUrl http://<CA-FQDN>/ocsp -ocspCert <path_to_ocsp_signing_ca_cert>.cer
Windows の場合:
cd <C:\Program Files\Vmware\vCenter Server\Vmware Identity Services\>
sso-config.bat
Linux の場合:
cd /opt/vmware/bin
sso-config.sh
例
sso-config.sh -set_authn_policy -t vsphere.local -ocspUrl http://<OSCPhostname>/ocsp -ocspCert ca_pslab1_com.cer
認証ポリシーを調べ、OCSP の URL と証明書が正しく設定されているかどうかを確認します。
sso-config.sh -get_authn_policy -t vsphere.local
IsPasswordAuthEnabled: true
IsWindowsAuthEnabled: true
IsTLSClientCertAuthnEnabled: true
IsSecurIDAuthnEnabled: false
revocationCheckEnabled: true
useOCSP: true
sendOCSPNonce: false
useCRLAsFailOver: true
OCSPResponderSigningCert: CN=CA, DC=<DC>, DC=com
OCSPUrl: http://<OSCPhostname>/ocsp
useCertCRL: true
CRL CacheSize: 512
CRLUrl: UndefinedConfig
trustedCA: CN=<hostname>-CA, DC=<DC>, DC=com
trustedCA: CN=<hostname2>-CA, DC=<DC>, DC=<DC2>, DC=com