Skip to content

gosuri/certcheck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

certcheck

certcheck is simple utitily to check TLS authentication for a server and client

Building

Install GoLang and ensure $GOPATH is configured. Get the source:

$ mkdir -p $GOPATH/src/github.com/gosuri/certcheck
$ git clone https://github.com/gosuri/certcheck.git $GOPATH/src/github.com/gosuri/certcheck

To build:

$ cd $GOPATH/src/github.com/gosuri/certcheck
$ go build

The above command will create a binary certcheck in the source directory

Generate certificates

The below command will generate cert and key pair for server and client. Optionally, replace foo@example.com with an email.

./gencerts.sh foo@example.com

Run

To run, simply execute certcheck

./certcheck -h

Usage

./certcheck -h

Usage of ./certcheck:
  -addr=":8080": Address to listen on
  -tls-client-cert="client.crt": Path for client TLS cert
  -tls-client-key="client.key": Path for client TLS key
  -tls-server-cert="server.crt": Path for server TLS cert
  -tls-server-key="server.key": Path for server TLS key

About

A simple utitily to check TLS authentication for a server and client

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published