Skip to content

Issue certificates from your own CA

Needs OpenSSL 3: on macOS from Homebrew (brew install openssl@3), on Windows from winget (winget install --id ShiningLight.OpenSSL.Light -e --source winget), or Install in the dialog.

  1. SecTools → Keys & certificates… → Certificate → Own CA / self-signed.
  2. + Root CA: fill Name (e.g. Shop Root CA), Common name, Organization, Valid (days) (e.g. 3650) and Key. The CA’s key is encrypted with a random password kept in the vault.
  3. On the root’s row click + to create an intermediate (e.g. Shop Internal TLS, 1825 days). An intermediate cannot sign further CAs (pathlen:0).

2. Trust the root on this computer (optional)

Section titled “2. Trust the root on this computer (optional)”

Click the shield on the root’s row. KryoDesk runs /usr/bin/security add-trusted-cert -r trustRoot -k ~/Library/Keychains/login.keychain-db ca.crt and macOS asks for your password (the shield works on macOS only; on Windows import ca.crt yourself, for example certutil -user -addstore Root ca.crt). This Mac then accepts any certificate signed by this CA, for any name. Other machines need ca.crt installed separately (folder icon shows it in Finder).

  1. Signed by: the intermediate.
  2. Domains: every host name and IP clients use, e.g. api.shop.internal, 10.20.0.15.
  3. Usage: Web server.
  4. Valid (days): at most 825 for a server certificate (macOS and iOS reject longer).
  5. Tick Keep in the CA store (key encrypted) to export it again later.
  6. Generate certificate. The log shows every openssl call.
Target Button
nginx Save .crt + .key + fullchain: ssl_certificate <name>-fullchain.crt; ssl_certificate_key <name>.key;
Windows / IIS Save .pfx… with a password; tick Legacy encryption (Windows compatible) for Server 2016 and older
PuTTY client certificate Save .ppk (v3)…
Clients that must trust the CA CA chain…

Later: the CA row’s N certs → Export… decrypts the stored key and opens the same screen.

See SSH keys and certificates for every field.

Scroll or pinch to zoom · drag to move · double-click to zoom · Esc or click outside to close