certgen

package module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2018 License: ISC Imports: 14 Imported by: 2

README

certgen - Generate certificate files

Simple interface to genearte key and certificate files by Conformal Systems LLC. The LICENSE file is theoriging module license.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTLSCertPair

func NewTLSCertPair(organization string, validUntil time.Time, override bool, extraHosts []string) (cert, key []byte, err error)

NewTLSCertPair returns a new PEM-encoded x.509 certificate pair based on a 521-bit ECDSA private key. The machine's local interface addresses and all variants of IPv4 and IPv6 localhost are included as valid IP addresses. If the override flag is set true only the extraHosts are used.

Types

This section is empty.

Jump to

Keyboard shortcuts

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