cert-fetcher
Fetch ssl certificates from https urls and store them in different formats.
Supported output formats
- pem
- jks (java keystore)
Prints the certificates of a given URL.
cert-fetcher --url 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 --url 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 --url 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