bakito / cert-fetcher

πŸ“œ Fetch certificates from URL'd and store them in different formats

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

πŸ“œ Fetch certificates from URL'd and store them in different formats

License:Apache License 2.0


Languages

Language:Go 93.9%Language:Makefile 6.1%