如何获取网页的公钥? [英] How can I get the public key of a webpage?

查看:150
本文介绍了如何获取网页的公钥?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何获取 VeriSign 等网站和所有其他使用 https(安全协议)的网站的公钥?

How can I get the public key of a website like VeriSign and all other websites which use https(secure protocol)?

推荐答案

这取决于您使用的浏览器,如果您告诉我,我会更新我的答案.

It depends on the browser you're using, if you let me know I'll update my answer.

Chrome 55 及更高版本您现在可以在开发者工具中找到此信息.选项(3 个点) -> 更多工具 -> 开发人员工具,或按 F12,然后单击安全"选项卡,您将获得带有查看证书"按钮的安全概述".根据 Chrome 60 的 另一篇 SO 帖子,您实际上可以启用如果您转到 chrome://flags/#show-cert-link,则再次选择该选项.

Chrome 55 and above You can now find this information in Developer Tools. Options (3 dots) -> More Tools -> Developer tools, or press F12, then click the "Security" tab and you'll get a "Security Overview" with a "View certificate" button. As per another SO post from Chrome 60 you can actually enable the option again if you go to chrome://flags/#show-cert-link.

Chrome 54 及以下版本:如果您使用的是 Chrome,请点击地址栏中https:"左侧的绿色栏,对于 VeriSign 网站,绿色栏显示 Symantec Corperation [US],这将打开一个弹出窗口.在弹出窗口中单击证书信息".这将打开另一个弹出窗口.在此转到顶部的详细信息"选项卡并向下滚动到公钥",其中显示了网站用于其 SSL 的公钥.在 VeriSigns 的情况下,公钥是一个 2048 位的密钥.

Chrome 54 and below: If you're using Chrome then click on the green bar to the left of the 'https:' in the address bar, for the VeriSign website the green bar says Symantec Corperation [US], this will open a pop up. On the pop up click 'Certificate Information'. This will open another pop up. On this go the 'Details' tab at the top and scroll down to 'Public key' which shows the public key the website is using for it's SSL. In VeriSigns case the public key is a 2048 bit key.

IE: 要点击的绿色栏位于网址的右侧.单击此按钮会出现一个类似的弹出窗口,您必须单击查看证书",然后会弹出与 Chrome 上相同的弹出窗口,您可以在其中转到详细信息"选项卡并向下滚动到公钥"

IE: the green bar to click on is to the right of the web address. Clicking this brings a similar pop up where you have to click 'View certificates' which then brings up the same pop up as on Chrome where you go to the Details tab and scroll down to 'Public Key'

这是点击证书信息"或查看证书"链接后打开的弹出窗口.

This is the pop up that opens after clicking the 'Certificate information' or 'View certificates' links.

这篇关于如何获取网页的公钥?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆