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
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




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:


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
    	set to try to output a CSR