0

我正在尝试在 Wso2 身份服务器 5.2.0 中实现联合 oidc 身份验证器。在我成功配置此连接后,联合身份验证器实施了更严格的安全规则。客户端必须使用客户端证书进行身份验证。我已将签名授权导入客户端信任库,并将客户端证书导入 wso2carbon 密钥库。使用这些密钥库独立运行代码可以正常工作。所以我对密钥库没有任何问题。

但是当我使用 ssl debug 在 Wso2 中运行代码时,我看到了输出:


    *** CertificateRequest
    Cert Types: RSA, DSS, ECDSA
    Supported Signature Algorithms: SHA256withECDSA, SHA384withECDSA, SHA512withECDSA, Unknown (hash:0x8, signature:0x7), Unknown (hash:0x8, signature:0x9), Unknown (hash:0x8, signature:0xa), Unknown (hash:0x8, signature:0xb), Unknown (hash:0x8, signature:0x4), Unknown (hash:0x8, signature:0x5), Unknown (hash:0x8, signature:0x6), SHA256withRSA, SHA384withRSA, SHA512withRSA, Unknown (hash:0x3, signature:0x3), SHA1withECDSA, Unknown (hash:0x3, signature:0x1), SHA1withRSA, Unknown (hash:0x3, signature:0x2), SHA1withDSA, SHA256withDSA, Unknown (hash:0x5, signature:0x2), Unknown (hash:0x6, signature:0x2)
    Cert Authorities:
    <CN=TTP...>
    <OU=VeriSign...>
    <CN=TTP..>
    <CN=INSI...>
    http-nio-9443-exec-46, READ: TLSv1.2 Handshake, length = 4
    *** ServerHelloDone
    Warning: no suitable certificate found - continuing without client 
    authentication
    *** Certificate chain
    <Empty>
    ***

找不到客户端证书。在独立代码中,我使用相同的密钥库找到了客户端证书。

Wso2 中是否需要一些额外的配置?

4

0 回答 0