certtool

package
v0.0.0-...-04aba3d Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildCA

func BuildCA() (cert []byte, key []byte, err error)

BuildCA creates a self-signed CA certificate.

func BuildClientCertificate

func BuildClientCertificate(caCert []byte, caKey []byte, commonName string) (cert []byte, key []byte, err error)

BuildClientCertificate creates a certificate that can be used for client authentication.

func BuildServerCertificate

func BuildServerCertificate(caCert []byte, caKey []byte, commonName string) (cert []byte, key []byte, err error)

BuildServerCertificate creates a certificate that can be used for server authentication.

Types

This section is empty.

Jump to

Keyboard shortcuts

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