selfsigned

package module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

README

selfsigned

Generate tls.Config with self-signed certificate for test or internal servers

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TLSConfig

func TLSConfig(opts ...ConfigOption) (*tls.Config, error)

Types

type ConfigOption

type ConfigOption func(*config)

func CommonName

func CommonName(commonName string) ConfigOption

func NotAfter

func NotAfter(t time.Time) ConfigOption

func Organization added in v0.0.2

func Organization(organization string) ConfigOption

Jump to

Keyboard shortcuts

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