adamdecaf / cert-manage

WIP x509 Certificate auditing CLI
Apache License 2.0
32 stars 6 forks source link

cmd/connect: establish a TLS connection #199

Open adamdecaf opened 6 years ago

adamdecaf commented 6 years ago

It seems handy to have a connect <url> subcommand which can take in a list of certificates (i.e. -file, -app) and use those for a connection to <url>.

When we start wanting to create certificate stores on the fly it would be nice to help verify connections work.

# Trim down a java truststore
$ cert-manage whitelist -app java -file ./cacerts -whitelist wh.json

# Verify connections work
$ cert-manage connect -file ./cacerts https://example.com 
adamdecaf commented 6 years ago

Can we specify multiple hosts?