Skip to navigation

CA commands

Use the ca command to manage OS trust for the Passport CA. Tools that respect the environment variables passport setup configures (see Environment variables) pick up the CA automatically. Some tools validate certificates against your OS’s own certificate trust store instead. Use ca install so these tools trust the Passport CA too.

passport ca install

Trust the Passport CA for this machine so tools that validate against the OS trust store trust it. On macOS, this adds the certificate to the system keychain and runs under sudo. On Windows, it adds the certificate to the LocalMachine\Root store and triggers a prompt for administrator approval.

Usage

passport ca install

Example

passport ca install

The Passport CA file is stored at ~/.passport/ca.pem on macOS and %USERPROFILE%\.passport\ca.pem on Windows.

passport ca uninstall

Remove the Passport CA trust entry from the machine’s trust store. On macOS, this removes it from the system keychain and runs under sudo. On Windows, it removes the certificate from the LocalMachine\Root store and triggers a prompt for administrator approval.

Usage

passport ca uninstall

passport ca status

Report whether the Passport CA is trusted by this machine.

Usage

passport ca status [options]

Options

--json
Defaults to false

Emit raw JSON instead of formatted text.

Example

passport ca status