kosa8 docs Dashboard
esc
↑ ↓ move↵ openRuns in your browser; nothing you type is sent anywhere.

CLI / lab / ca

kosa8 lab ca

Print the lab CA certificate, to install in images that should trust fakenet's HTTPS

Usage#

kosa8 lab ca [--out FILE]

fakenet's TLS responder completes every handshake with a certificate for the name asked, issued by the lab CA. Programs that verify certificates refuse it (the refusal and the name are still recorded) unless the CA is installed in the image, e.g. in a Dockerfile:

COPY kosa8-lab-ca.pem /usr/local/share/ca-certificates/kosa8-lab-ca.crt
RUN update-ca-certificates

The CA is made on first use and kept on the daemon's host; its key never leaves it.

Options#

FlagTypeWhat it doesDefault
--outstringwrite the certificate to this file instead of printing it—

Example#

  kosa8 lab ca
  kosa8 lab ca --out lab-ca.pem

The kosa8 weekly

Agent security news, one industry deep-dive and a hands-on challenge, every Monday. Unsubscribe in one click.

© 2026 kosa8 · kosa8.com · Zero Trust cybersecurity infrastructure for AI agents · Local models served by llamay · Agent gateway: MAQPNA