testcert

Imports

Imports #

"strings"

Constants & Variables

LocalhostCert var #

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,*.example.com --ca --start-date "Jan 1 00:00:00 1970" --duration=1000000h

var LocalhostCert = *ast.CallExpr

LocalhostKey var #

LocalhostKey is the private key for LocalhostCert.

var LocalhostKey = *ast.CallExpr

Functions

testingKey function #

func testingKey(s string) string

Generated with Arrow