Skip to content

Certificate authorities and key options

Let's Encrypt staging and production are built in. SSLense also issues and renews automatically from any certificate authority that speaks ACME, including the ACME services of commercial providers. Add it once, under Settings › Certificate authorities, then choose it as the Certificate authority in Add certificate, or use --ca.

In the app, open Add a certificate authority, choose it under Certificate authority (for one with no preset, give a Name and its ACME directory URL), fill in the EAB key ID and EAB HMAC key if it needs them, and choose Add certificate authority. Test reads its directory without creating an account.

Settings, Certificate authorities: Let's Encrypt staging and production built in, ZeroSSL and Google Trust Services added with EAB

From the command line:

Terminal window
SSLense.Cli ca add --preset zerossl --eab # asks for the EAB key ID, then the HMAC key
SSLense.Cli ca add --name "Internal CA" --directory https://acme.internal.example/directory
SSLense.Cli ca list
SSLense.Cli ca test --ca zerossl # reads the CA's directory; creates no account
SSLense.Cli issue --site "Shop" --hosts shop.example.com --email ops@example.com --ca zerossl --accept-production-risk
SSLense.Cli ca remove --ca zerossl # refused while a certificate renews with it
Preset Certificate authority EAB
zerossl ZeroSSL, free Required
google Google Trust Services, free Required
google-test Google Trust Services' test service, untrusted certificates Required
sslcom SSL.com Optional
sectigo Sectigo DV Required
  • External Account Binding (EAB) links SSLense's account to your account with the certificate authority, which shows a key ID and an HMAC key in its dashboard. SSLense keeps the HMAC key encrypted with DPAPI.
  • Every certificate authority that is not a test service needs confirmation when issuing (--accept-production-risk, or the tick box in the app), as Let's Encrypt production does. Automatic renewals do not ask again.
  • A certificate always renews with the certificate authority that issued it. To move it, issue it again with --ca <other> --force.
  • SSLense reads the directory before saving it, refuses a certificate authority that needs EAB without it, and saves the names it publishes for CAA checks. For one that publishes none, give one with --caa-domain.

Certificates get an ECDSA P-256 key, the certificate authority's default chain, and its default kind of certificate, unless you choose otherwise. Each choice is kept at every renewal. In the app they are on the first step of Add certificate.

Terminal window
SSLense.Cli issue --site "Shop" --email ops@example.com --key rsa-3072 # ecdsa-p256, ecdsa-p384, rsa-2048, rsa-3072, rsa-4096
SSLense.Cli issue --site "Shop" --email ops@example.com --preferred-chain "ISRG Root X1"
SSLense.Cli issue --site "Shop" --email ops@example.com --profile shortlived # certificates valid about six days
SSLense.Cli ca test --ca letsencrypt-staging # lists the profiles it offers
  • RSA suits older clients and appliances that do not accept ECDSA.
  • A preferred chain is a preference: the default chain is used when the certificate authority offers none ending at that root.
  • A profile must be one the certificate authority lists, or SSLense refuses before ordering.
  • --reuse-key keeps the same private key at every renewal, for key pinning or DANE TLSA records. If the key is gone or no longer matches --key, the renewal uses a new key and says so, rather than let the certificate expire.
  • --exportable-key makes the key exportable, for exports. Keys are non-exportable unless you choose this.