Skip to main content

2025 年 7 月 21 日

配置 OCSP 证书撤消检查

如果您配置了 OCSP 证书撤消检查,Horizon 会向 OCSP Responder 发送验证请求,以确定智能卡用户证书的撤消状态。

必备条件

熟悉用于 OCSP 证书撤消检查的 locked.properties 文件属性。请参阅智能卡证书撤消检查属性

步骤

  1. 在连接服务器主机的 TLS/SSL 网关配置文件夹中创建或编辑 locked.properties 文件。

    例如:install_directory\View\Server\sslgateway\conf\locked.properties

  2. enableRevocationCheckingenableOCSPocspURLocspSigningCert 属性添加到 locked.properties 文件中。

    a. 将 enableRevocationChecking 属性设为 true,以启用智能卡证书撤消检查。

    b. 将 enableOCSP 属性设为 true,以启用 OCSP 证书撤消检查。

    c. 将 ocspURL 设为 OCSP Responder 的 URL。

    d. 将 ocspSigningCert 属性设为包含 OCSP Responder 签发证书的文件的位置。

  3. 重新启动连接服务器服务以使所做的更改生效

示例:locked.properties 文件

列出的文件可启用智能卡身份验证和智能卡证书撤消检查,配置 CRL 与 OCSP 证书撤消检查,指定 OCSP Responder 的位置,并识别包含 OCSP 签发证书的文件。

trustKeyfile=lonqa.key
trustStoretype=jks
useCertAuth=true
enableRevocationChecking=true
enableOCSP=true
allowCertCRLs=true
ocspSigningCert=te-ca.signing.cer
ocspURL=http://te-ca.lonqa.int/ocsp

此页面对您有帮助吗?

对本主题提供反馈

本主题对您有帮助吗?

请勿填写任何个人信息或机密信息。

正在生成链接…