开发者

How to get the details about the chaining certificates of a server

By using the following code I am getting server certificate details. How should I get the information about the chaining certificates.

require 'rubygems'
require 'httpclient'

client =开发者_JS百科 HTTPClient.new
response = client.get("https://digicert.com")
cert = response.peer_cert
p cert
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜