gochk

command module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2023 License: MIT Imports: 1 Imported by: 0

README

gochk

gochk is a command-line tool for various SSL/TLS tasks.

Usage

Download and run the pre-build binaries:

# todo

If you have go installed, you can build your own binary:

go build -o gochk main.go
./gochk --help

# using make
make build
./bin/gochk --help

Sub-commands (see features for available commands):

  • ca - for creating your own CA.
  • conn - for interacting with an SSL/TLS endpoint.
  • cert - for working with certificate files.

Features

Creating your own CA
  1. Create the YAML files containing your configuration. For reference, see the example ca configuration.

  2. Create the private key and the CA certificate:

    # use all defaults:
    ./gochk ca
    
    # specify filenames:
    ./gochk ca --key private.pem --cert cert.pem
    

TODO

The following features are not yet implemented.

Testing a TLS endpoint
  1. Get the supported SSL/TLS versions.
  2. List certificate tree.
  3. Get validity information.
  4. List valid domains for the certificate.
  5. Check supported ciphers.
Working with certificates

For signing certificates using a CA from a previous section, or for inspecting a PEM-encoded certificate file.

  1. Check if a PEM-encoded certificate and a private key match.
  2. Print the contents of a certificate.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL