Skip to content

Latest commit

 

History

History
54 lines (35 loc) · 1.35 KB

README.md

File metadata and controls

54 lines (35 loc) · 1.35 KB

GoDoc Go Go Report Card GitHub Release

cert-fetcher

Fetch ssl certificates from https urls and store them in different formats.

Supported output formats

  • pem
  • jks (java keystore)

Print

Prints the certificates of a given URL.

cert-fetcher https://www.foo.bar

# All options
cert-fetcher --help

Export pem

Stores the certificates from the given URL into a pem file.

cert-fetcher pem https://www.foo.bar

# All options
cert-fetcher pem --help

Export java keystore

Stores the certificates from the given URL into a java keystore file.

cert-fetcher jks https://www.foo.bar

# All options
cert-fetcher jks --help

Run behind proxy

To run cert-fetcher behind a proxy, just provide the proxy as env variable.

env https_proxy=http://proxy.net:8080 cert-fetcher jks --url https://www.foo.bar