ssg

command module
v0.0.0-...-05c042c Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2024 License: MIT Imports: 15 Imported by: 0

README

ssg

  • Self Signed certificate Generator

This code is adapted straight out of the Go standard library code Original source: crypto/tls/generate_cert.go

I find it nice to use while spining up HTTP2 servers locally real quick and need a certificate plus private key instead of running through a ritual with openssl on the commandline.

Usage

$ go get github.com/odeke-em/ssg
$ ssg --host example.com

That will write files cert.pem and keys.pem in your current working directory, overwriting any existing files with the same names.

LICENSE

Copyright 2009 The Go Authors. All rights reserved.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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