certssl

package
v0.0.0-...-19598f2 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const CertDefaultNewApplyTime = 5 * 24 * time.Hour

Variables

This section is empty.

Functions

func GetCertificateAndPrivateKey

func GetCertificateAndPrivateKey(basedir string, email string, aliyunAccessKey string, aliyunAccessSecret string, domain string) (crypto.PrivateKey, *x509.Certificate, *x509.Certificate, error)

func WatchCertificate

func WatchCertificate(dir string, email string, aliyunAccessKey string, aliyunAccessSecret string, domain string, oldCert *x509.Certificate, stopChan chan bool, newCertChan chan NewCert) error

Types

type NewCert

type NewCert struct {
	PrivateKey        crypto.PrivateKey
	Certificate       *x509.Certificate
	IssuerCertificate *x509.Certificate
	Error             error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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