项目作者: bakito

项目描述 :
Fetch certificates from URL'd and store them in different formats
高级语言: Go
项目地址: git://github.com/bakito/cert-fetcher.git
创建时间: 2019-01-18T10:02:22Z
项目社区:https://github.com/bakito/cert-fetcher

开源协议:Apache License 2.0

下载


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.

  1. cert-fetcher https://www.foo.bar
  2. # All options
  3. cert-fetcher --help

Export pem

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

  1. cert-fetcher pem https://www.foo.bar
  2. # All options
  3. cert-fetcher pem --help

Export java keystore

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

  1. cert-fetcher jks https://www.foo.bar
  2. # All options
  3. cert-fetcher jks --help

Run behind proxy

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

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