The role of the TrustManager interface is to validate the SSL certificate that is sent by a peer.
TrustManager 界面的角色就是确认对等者所发送的 SSL 确认。
The majority of the work for this scenario is in the provider-side handler, which must recover the certificate from the header, verify it, and validate it.
该场景中的大多数工作是由提供者一方的处理程序完成的,它必须从消息头中恢复证书、检验它并使之生效。
Instead of verifying the received certificate against the configured host name and validate trust it will first look at a list of server names.
它并不根据配置的主机名检查收到的证书并检查信任关系,而是先查看一个服务器名列表。
应用推荐