Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to Export Certificate from Chrome on a Mac?

How do I export a security certificate from Chrome v37 on a Mac?

Previously I could click on the little lock icon next to the URL, select "Connection," select the certificate, and an "Export" button would appear.

Not so anymore!

like image 765
kmiklas Avatar asked Sep 19 '14 18:09

kmiklas


People also ask

How do I export a certificate on a Mac?

Open “Keychain Access”. Under “Category” select “Certificates”, and highlight the certificate that you want to export. 2. Click “File” and select “Export Items” from the drop down menu.

How do I import certificates from Chrome to macbook?

Chrome uses the Keychain Access utility built into MAC OS manage digital certificates. Under 'Keychains' on the left, select 'Login' then 'File' > 'Import Items...' Navigate to the location of your saved certificate file and click 'Open'. Enter the key pair's password and click 'OK'.


2 Answers

Edit 4/3/19: I have found a workaround. This is tested on Chrome for Mac 73.0.3686.86 64-bit, platform: macOS 10.14.4:

  1. Open a new TextEdit document.
  2. In TextEdit, click Format | Make Plain Text.
  3. Arrange windows so that the TextEdit window and the Chrome window are both visible.
  4. In Chrome, click the icon to the left of the URL in the address bar.
  5. In the dropdown list, click Certificate.
  6. Hold down Option and drag from the large certificate icon to the body of the TextEdit document. Note: If you did not follow the steps above in exactly the order stated, you may need to first single-click within the Chrome window so that TextEdit doesn't become hidden when you Option-click.
  7. Save the TextEdit document with a .pem extension.

If you don't hold down Option when you drag, then you will instead get the certificate contents in human-readable form, which can also be handy.

(Edited 2/24/19: @RichardTopchiy is correct, this no longer works. Testing on Chrome 72.0.3626.119 64-bit. I don't know of any workaround at the present.)

(Edited 2/10/17: I have added a more up-to-date answer in a comment: How to Export Certificate from Chrome on a Mac?)

  1. Click the icon to the left of the URL.
  2. In the box that pops up, click the Connection tab.
  3. Click the Certificate Information link.
  4. A box pops up showing information about the certificate. Drag the large certificate icon to a Finder window. A .cer file will be created in the location you drag it to.

This is based on Chrome 42.0.2311.135 (64-bit) for Mac.

like image 170
Simon Zuckerbraun Avatar answered Oct 20 '22 15:10

Simon Zuckerbraun


You should make flowing steps,

show certificate detail on chrome browser on macOS

domain-detail

drag big certificate icon on certificate detail window

certificate-detail

drop the icon to desktop and ta-ta! created the domain certificate .cer file on the desktop

certificate-on-desktop

like image 158
Ali K. Bagcioglu Avatar answered Oct 20 '22 14:10

Ali K. Bagcioglu