gencert

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2020 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package gencert generates SSL certificates for any host on the fly.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateKeyPair

func CreateKeyPair(commonName string) (certFile string, keyFile string, err error)

CreateKeyPair creates a key pair for the given hostname on the fly.

func SetRootCACert

func SetRootCACert(s string)

SetRootCACert sets the root CA cert.

func SetRootCAKey

func SetRootCAKey(s string)

SetRootCAKey sets the root CA key.

Types

This section is empty.

Jump to

Keyboard shortcuts

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