Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I get the public key of a webpage?

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

like image 379
shalki Avatar asked Jun 15 '12 08:06

shalki


People also ask

How do I get public key certificate from browser?

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.

How do I get a public key certificate?

It is issued by a trusted organization and provides identification for the bearer. A trusted organization that issues public key certificates is known as a Certificate Authority (CA). The CA can be likened to a notary public. To obtain a certificate from a CA, one must provide proof of identity.


2 Answers

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

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 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.

Chromes https

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'

enter image description here

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

enter image description here

like image 104
Peanut Avatar answered Oct 20 '22 19:10

Peanut


In Chrome you can get it via developer tools (F12 in windows) or pick it in the menu (Menu -> More Tools -> Developer Tools).

Then all you need to do is to pick the security tab, here are all information you need.

enter image description here

Just clicking on a secure popup does not work anymore.

like image 1
Peter Stegnar Avatar answered Oct 20 '22 18:10

Peter Stegnar