Fetch ssl certificates from https urls and store them in different formats.
- pem
- jks (java keystore)
Prints the certificates of a given URL.
cert-fetcher https://www.foo.bar
# All options
cert-fetcher --help
Stores the certificates from the given URL into a pem file.
cert-fetcher pem https://www.foo.bar
# All options
cert-fetcher pem --help
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
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