Skip to content

prasmussen/cert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cert

Overview

cert is command line utility to generate a self-signed X.509 certificate for a TLS server. Outputs to cert.pem and key.pem and will overwrite existing files. It is based on the generate-cert tool included with the go source -- only slightly modified to take more arguments.

Prerequisites

None, binaries are statically linked. If you want to compile from source you need the go toolchain.

Installation

  • Save binary to a location in your PATH (i.e. /usr/local/bin/)

Downloads

Example

Generate a self-signed certificate valid for 1 year
$ cert -host example.com -org "Acme Co" -years 1
2013/02/02 16:45:56 written cert.pem
2013/02/02 16:45:56 written key.pem

About

Generate self-signed certificates

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published