package testcert

Import Path
	net/http/internal/testcert (on go.dev)

Dependency Relation
	imports one package, and imported by one package

Involved Source Files Package testcert contains a test-only localhost certificate.
Package-Level Variables (total 2)
LocalhostCert is a PEM-encoded TLS cert with SAN IPs "127.0.0.1" and "[::1]", expiring at Jan 29 16:00:00 2084 GMT. generated from src/crypto/tls: go run generate_cert.go --rsa-bits 2048 --host 127.0.0.1,::1,example.com --ca --start-date "Jan 1 00:00:00 1970" --duration=1000000h
LocalhostKey is the private key for LocalhostCert.