gpt4 book ai didi

ssl - IBM MobileFirst Platform 中的证书固定

转载 作者:太空宇宙 更新时间:2023-11-03 14:06:38 27 4
gpt4 key购买 nike

当我们为 MobileFirst 混合应用调用方法 WL.Client.pinTrustedCertificatePublicKey 时,将执行哪些检查?

最佳答案

这一切都在文档中进行了解释。看这里:http://www.ibm.com/support/knowledgecenter/SSHSCD_7.1.0/com.ibm.worklight.dev.doc/monitor/c_cert_pinning_intro.html

Certificate pinning is the process of associating a host with its expected public key. Because you own both the server-side code and the client-side code, you can configure your client code to accept only a specific certificate for your domain name, instead of any certificate that corresponds to a trusted CA root certificate recognized by the operating system or browser.

A copy of the certificate is placed in your client application. During the SSL handshake (first request to the server), the IBM MobileFirst Platform Foundation for iOS client SDK verifies that the public key of the server certificate matches the public key of the certificate that is stored in the app.

If pinning is successful, the public key inside the provided certificate is used to verify the integrity of the MobileFirst Server certificate during the secured request SSL/TLS handshake. If pinning fails, all SSL/TLS requests to the server are rejected by the client application.

API 启动固定过程。

关于ssl - IBM MobileFirst Platform 中的证书固定,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40218182/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com