Exporting Server Certificate to File in Mozilla Firefox

This section provides a tutorial example on how to export an HTTPS server certificate to a certificate file in PEM (Privacy Enhanced Mail) format.

In previous tutorials, I learned how to view an HTTPS server certificate and its certificate path. Now I want to learn how to save a server certificate to a certificate file.

1. Visit https://login.yahoo.com with Mozilla Firefox, and view the server certificate again.

2. Click the "Details" tab on the Certificate Viewer.

3. Click the "Export..." button. The "Save Certificate To File" dialog box shows up.

4. Select "X.509 Certificate (PEM)" in the "Save as type" field. Enter "\temp\yahoo_pem.crt" as the file name.

5. Click the "Save" button. The "*.login.yahoo.com" certificate will be exported into the specified file.

Certificate file types supported by Mozilla Firefox are:

X.509 Certificate (PEM) (*.crt,*.pem)
X.509 Certificate with chain (PEM) (*.crt,*.pem)
X.509 Certificate (DER) (*.der)
X.509 Certificate (PKCS#7) (*.p7c)
X.509 Certificate with chain (PKCS#7) (*.p7c)

Table of Contents

 About This Book

 Introduction of PKI (Public Key Infrastructure)

 Introduction of HTTPS (Hypertext Transfer Protocol Secure)

 Using HTTPS with Google Chrome

Using HTTPS with Mozilla Firefox

 Visiting "https" Website with Mozilla Firefox

 Viewing Server Certificate in Mozilla Firefox

 Server Certificate General Information

 Viewing Server Certificate Path in Mozilla Firefox

Exporting Server Certificate to File in Mozilla Firefox

 Viewing Pre-Installed Certificates in Mozilla Firefox

 Listing of Trusted Root CA in Mozilla Firefox

 Exporting Certificate to File from Mozilla Firefox

 Deleting Root CA Certificates from Mozilla Firefox

 Mozilla Firefox Displaying Certificate Error Page

 Adding Security Exception in Mozilla Firefox

 Failing to Import Root CA Certificates to Mozilla Firefox

 Certificate Trust Settings in Mozilla Firefox

 HTTPS with Microsoft Edge

 Using HTTPS with Apple Safari

 HTTPS with IE (Internet Explorer)

 Android and Server Certificate

 iPhone and Server Certificate

 Windows Certificate Stores and Console

 RDP (Remote Desktop Protocol) and Server Certificate

 macOS Certificate Stores and Keychain Access

 Perl Scripts Communicating with HTTPS Servers

 PHP Scripts Communicating with HTTPS Servers

 Java Programs Communicating with HTTPS Servers

 .NET Programs Communicating with HTTPS Servers

 CAcert.org - Root CA Offering Free Certificates

 PKI CA Administration - Issuing Certificates

 Comodo Free Personal Certificate

 Digital Signature - Microsoft Word

 Digital Signature - OpenOffice.org 3

 S/MIME and Email Security

 PKI (Public Key Infrastructure) Terminology

 Archived Tutorials

 References

 Full Version in PDF/EPUB