ssl

package
v2.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package ssl provides helpers to work with SSL.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SSL

type SSL struct {
	CertName     string
	CertPath     string
	KeyName      string
	KeyPath      string
	Country      string
	State        string
	Location     string
	Organization string
	CommonName   string
	Days         string
}

func (*SSL) Generate

func (s *SSL) Generate() error

Generate generates the SSL/TLS certificate and private key.

Jump to

Keyboard shortcuts

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