'How to save SSL certificate by chrome and firefox on Mac?

This blog explains how to save SSL certificate in chrome and firefox. But I can not following it (my os is Mac). I am not sure if this is because of the difference between mac and windows. Could anybody show me how to save SSL certificate on Mac?

https://medium.com/@menakajain/export-download-ssl-certificate-from-server-site-url-bcfc41ea46a2



Solution 1:[1]

The interfaces are a little different in the macOS versions.

In Safari:

  1. Click the padlock icon in the URL bar
  2. Click the Show Certificate button in the dialog that appears
  3. Click on the certificate icon, and drag it to a Finder window (or the Desktop)

In Google Chrome:

  1. Click the padlock icon in the URL bar
  2. If the dialog that appears has a "Connection is secure" line, click on that
  3. Click the "Certificate is valid" or "Certificate (Valid)" area in the dialog
  4. Click on the certificate icon, and drag it to a Finder window (or the Desktop)

In Firefox:

  1. Click the padlock icon in the URL bar
  2. Click the "Show connection details" (right-arrow) button to the right of "Connection secure" in the dialog that appears
  3. Click the "More information" area
  4. Under the Security tab, click the "View Certificate" button
  5. A "about:certificate?cert=..." browser tab will open; scroll down to the Miscellaneous section
  6. In the "Download" line, click "PEM (cert)" to save the site's leaf certificate to your Downloads folder, or "PEM (chain)" to save the entire trust chain

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1