iOS デバイスで GP 6.0.5 以降にアップグレードした後、クライアント証明書エラーにより GlobalProtect クライアントが接続に失敗する
11419
Created On 02/22/23 02:14 AM - Last Modified 01/07/25 14:22 PM
Symptom
- iOSデバイスで GlobalProtect (GP) クライアントが 6.0.4 から 6.0.5 にアップグレードされました。
- アップグレード後、クライアント証明書エラーのため、GP クライアントはポータル/ゲートウェイに接続できません。
- PanGPS.logにエラーが表示されます
10:36:29:097 Debug(7351): ----Portal Pre-login starts----
/snip/
10:36:29:334 Info ( 647): Server is trusted xxxxxxxx.gpcloudservice.com(xxxxxxxx.gpcloudservice.com)
10:36:29:336 Debug(1038): Received challenge NSURLAuthenticationMethodClientCertificate, queue [NSOperationQueue 0x102d26210 (QOS: USER_INITIATED)]
10:36:29:338 Debug( 742): credentialWithIdentity chain count 0
10:36:29:338 Info ( 792): Using preset identity
10:36:29:339 Info ( 895): Final identity: [xxxxxxxx.com]
10:36:29:340 Debug( 510): Unable to extract extended key usage from cert <cert(0x102a52210) s: xxxxxxxx.com i: xxxxxxxx.com>
10:36:29:340 Error( 340): Identity <SecIdentityRef: 0x102a11db0> usage mismatch
KeyCertSign
)
10:36:29:340 Info ( 904): Final identity cannot be used, cancel
10:36:29:343 Error( 537): Connection error Error Domain=NSURLErrorDomain Code=-999 "Canceled" UserInfo={NSErrorFailingURLStringKey=https://xxxxxxxx.gpcloudservice.com:443/global-protect/prelogin.esp, NSLocalizedDescription=Canceled, NSErrorFailingURLKey=https://xxxxxxxx.gpcloudservice.com:443/global-protect/prelogin.esp}
/snip/
P 707-T3843 01/30/2023 10:36:29:355 Debug( 421): m_errorDetails is Client cert usage check failed.
P 707-T3843 01/30/2023 10:36:29:355 Debug(7515): prelogin to portal result is
(null)
P 707-T3843 01/30/2023 10:36:29:355 Debug(7839): Failed to pre-login to the portal xxxxxxxx.gpcloudservice.com with return value 0(0).Environment
- GlobalProtect (GP) アプリ
- バージョン6.0.5以降
- iOSデバイス
Cause
- GP 6.0.5 では、クライアント証明書のキー使用チェックが追加されました。
- クライアント証明書には、 「クライアント認証」による「拡張キー使用法」が必要です (OID 1.3.6.1.5.5.7.3.2)
Resolution
- 「拡張キー使用法」を持つクライアント証明書を構成します。
- 設定後、接続は正常に動作するはずです。