Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

x509-mode MELPA

Major mode for viewing certificates, CRLs, keys, DH-parameters and ASN.1 using OpenSSL.

Usage

Open a certificate, either PEM or DER encoded, in a buffer.

M-x x509-viewcert

A new buffer should display the parsed certificate.

To view certificates, CRLs, private keys Diffie-Hellman parameters and parsed ASN.1 respectively:

M-x x509-viewcert
M-x x509-viewcrl
M-X x509-viewasn1
M-x x509-viewkey
M-x x509-viewdh

The command line for all command can be edited with C-u prefix. Example:

C-u M-x x509-viewcert

Installation

Install x509-mode through elpa. It's available on melpa

M-x package-install x509-mode

I use the convenient use-package

(use-package x509-mode
  :ensure t)

OpenSSL

x509-mode requires OpenSSL. The variable x509-openssl-cmd must name the openssl binary.

M-x customize-variable x509-openssl-cmd

Linux

dnf install openssl

(setq x509-openssl-cmd "openssl")

Windows

x509-mode works with, for example, OpenSSL that comes with Git for Windows.

(setq x509-openssl-cmd "C:/Program Files/Git/mingw64/bin/openssl.exe")

Screenshots

X509 certificate

Certificate

Certificate revocation list

CRL

Private Key

CRL

DH-params

CRL

ASN.1

ASN.1

About

View certificates and CRLs using OpenSSL in Emacs

Resources

Releases

No releases published

Packages

No packages published