Skip to content

smiegles/certs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Parse X509 certificates to get the subdomains in it.

When downloading X509 certificates you might want to parse out all the (sub)domains included in the certificate. This small tool allows you to give the path to the .der certificate and get the (sub)domains and IP addresses back.

Usage

ruby certs.rb ./spec/samples/alt_names_cert.der 127.0.0.1

Output

127.0.0.1,cs-stage-home02.qwilt.com
127.0.0.1,cs-stage-home02.op.qwilt.com

About

Parse X509 certificates to get the (sub)domains in it.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages