testcert

command
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Command testcert writes a self-signed certificate and its key, cert.pem and key.pem, to the working directory.

The certificates in mockhttp/e2e/testdata/cert, mockgrpc/testdata/cert and webhook/testdata/cert come from it: cert.pem and key.pem from one run, cert_client.pem and key_client.pem from another, so the client identity in mutual TLS tests differs from the server's.

go run ./mockhttp/e2e/internal/testcert

Jump to

Keyboard shortcuts

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