ocspresponder

package
v1.3.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2024 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultOCSPResponderArgs = ResponderArgs{
	IndexFile:    "./index.txt",
	ServerPort:   "9999",
	OCSPKeyPath:  filepath.Join("..", "test", "keys", "ecdsa-private.pem"),
	OCSPCertPath: filepath.Join("..", "test", "certs", "root.pem"),
	CACertPath:   filepath.Join("..", "test", "certs", "root.pem"),
}

Functions

func StartOCSPResponder

func StartOCSPResponder(args ResponderArgs) error

StartOCSPResponder runs the OCSP responder.

Types

type ResponderArgs

type ResponderArgs struct {
	// IndexFile is the Certificate status index file
	IndexFile string

	// ServerPort is the Port to run responder on.
	ServerPort string

	// OCSPKeyPath is the Responder key to sign responses with.
	OCSPKeyPath string

	// OCSPCertPath is the Responder certificate to sign responses with.
	OCSPCertPath string

	// CACertPath is CA certificate filename.
	CACertPath string
}

ResponderArgs specifies the arguments for the OCSP Responder.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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