sslca

package
v0.0.0-...-ea0be71 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Managing a CA and signing server certs. Used in a setting where we control both the servers and clients. Some code borrowed from https://golang.org/src/crypto/tls/generate_cert.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenEcP256PrivateKeyPem

func GenEcP256PrivateKeyPem() ([]byte, error)

func SelfSignedServerCert

func SelfSignedServerCert(hostname string, organisationName string, privateKeyPem []byte) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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