【发布时间】:2016-03-27 11:45:55
【问题描述】:
根据 caniuse.com iOS Safari 9.2 和 9.3 do not support TLS public key pinning 与标题 Public-Key-Pins。
如何使用WKWebView 进行公钥固定?
【问题讨论】:
标签: security ssl https wkwebview pinning
根据 caniuse.com iOS Safari 9.2 和 9.3 do not support TLS public key pinning 与标题 Public-Key-Pins。
如何使用WKWebView 进行公钥固定?
【问题讨论】:
标签: security ssl https wkwebview pinning
WkWebView 为您提供了一个处理程序,用于验证 WKNavigationDelegate 的 webView:didReceiveAuthenticationChallenge:completionHandler: (https://developer.apple.com/library/ios/documentation/WebKit/Reference/WKNavigationDelegate_Ref/index.html) 中的服务器证书链。
本文的“Pinning in Webviews”部分有更多详细信息:https://datatheorem.github.io/TrustKit/getting-started.html,它也是一个在 iOS 应用中实现公钥固定的库。
【讨论】: