A Go TLS/HTTPS server demo that uses a Yubikey as the backend for it's private key
Clone or download
Latest commit b65e6dd May 3, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github + Readme May 2, 2018
.gitignore POC May 1, 2018
README.md Update README.md May 3, 2018
csr.go POC May 1, 2018
main.go lol Ben, come on. May 3, 2018

README.md

YubiTLS

logo

This is a Golang HTTPS server demo that can be driven from a YubiKey as the key backend source.

This was made for a post on my blog:

https://blog.benjojo.co.uk/post/tls-https-server-from-a-yubikey

You will need a functioning setup for Yubikey + GPG.

Program options:

Usage of ./yubiTLS:
  -cacrtpath string
    	the ssl CA certificate path
  -crtpath string
    	the ssl certificate path
  -csr.cn string
    	the Common Name of the CSR you want to generate (default "yubitls.benjojo.co.uk")
  -keyid string
    	the Key ID in the agent to use
  -signcsr
    	set to try to output a CSR