camaker

package
v0.0.0-...-e495a67 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2023 License: AGPL-3.0-or-later Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateCA

func GenerateCA(subjectOrg string, subjectCN string, bits int) (*x509.Certificate, *rsa.PrivateKey, error)

Generate 4k Root CA key.

func GenerateCert

func GenerateCert(serverName string, altnames []string, caCert *x509.Certificate, caKey *rsa.PrivateKey, bits int) (*x509.Certificate, *rsa.PrivateKey, error)

create plain old https server certificates doesn't have to be too strong.

func GenerateFPCA

func GenerateFPCA(subjectOrg string, subjectCN string, caCert *x509.Certificate, caKey *rsa.PrivateKey, bits int) (*x509.Certificate, *rsa.PrivateKey, error)

generate 3k FPCA key.

Types

This section is empty.

Jump to

Keyboard shortcuts

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