pki

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package pki provides minimal, stdlib-only certificate generation — enough for mymcp to self-provision a server identity. Client/CA issuance for users without a PKI is layered on top by the `mymcp certs` subcommand (future).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureServerCert

func EnsureServerCert(certPath, keyPath string, hosts []string) error

EnsureServerCert writes a self-signed server cert/key to certPath/keyPath if they do not already exist, with the given DNS/IP SANs. Returns nil if the files already exist.

Types

This section is empty.

Jump to

Keyboard shortcuts

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