Skip to content

Repository files navigation

Build: CircleCI Go Report Card Coverage Status

This tool is intended to make it easy to parse local PEM encoded RSA keys and x509 certificates, which are commonly used for HTTPS encryption.

gotls preview for golang.org

Flags are:

gotls -h
NAME:
   gotls - Examine local and remote SSL keys and certificates

USAGE:
   gotls [global options] command [command options] [arguments...]

VERSION:
   0.0.2

COMMANDS:
GLOBAL OPTIONS:
   --cert value, -c value	Filesystem path to public .pem file
   --key value, -k value	Filesystem path to private .key file
   --format value, -f value	Output format (text, json) (default: "text")
   --server value, -s value	Remote server name, e.g. golang.org
   --host value			Remote host, e.g. 216.58.220.49 or golang.org
   --port value, -p value	Remote HTTP port, e.g. 8443 (default: 443)
   --insecure			Skip chain & Root CA validation
   --help, -h			show help
   --version, -v		print the version

TODOS:

  1. REFACTOR (again). Consolidate printing. DRY principle applies.
  2. strip all print/formatting from gotls and put into check.go
  3. remove gotls entirely ignore, was from a temp iteration
  4. Add json output for --server/--host case
  5. Add download cert option for --server/--host case
  6. Add enumerate remote TLS ciphers using n (configurable) channels to check remote servers
  7. Tests. Tests. Tests. Tests. Tests. All dev should stop until there are tests.

About

Check local or remote Public/Private SSL keys with Go

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages