Skip to content

How SSLense keeps you safe

SSLense runs as Administrator, holds ACME account keys and changes IIS. This page says how it handles that; the threat model goes into detail.

  • Certificate private keys stay in the Windows machine store, LocalMachine\My, and are not exportable unless you ask for an exportable key for an export step. SSLense keeps no PFX files.
  • ACME account keys and every secret in the settings (DNS tokens, EAB keys, mail passwords, webhook URLs and signing secrets) are encrypted with Windows DPAPI for this machine, in C:\ProgramData\SSLense, which only Administrators and SYSTEM can open. SSLense sets those permissions at install and checks them at every start; the health check reports a change. See settings and data.
  • Secrets are never logged or shown in messages. URLs are shown by host name only, and a signing secret is shown once, when it is created.
  • Credentials are typed, not passed on the command line, so they stay out of shell history and process lists.
  • A settings export leaves secrets out, unless you include them encrypted with a password (AES-256-GCM).
  • Scripts run as SYSTEM are SSLense's own copies, checked against their SHA-256 before every run.

SSLense has no server, no account and no telemetry. It connects only to the certificate authorities, DNS providers and notification channels you set up, and, unless you turn it off under Settings › General, to GitHub to see whether a newer version exists. No other machine can send it commands. See network requirements.

Before it binds a certificate, SSLense checks it covers the host names, is valid now and chains to a trusted root. After binding, it connects over HTTPS to check the site serves it, and puts the previous binding back if not. An interrupted change is finished or undone at the next start. The previous certificate is kept for rollback.

SSLense is a free, volunteer-run project, and its releases are not signed with a code-signing certificate. To make sure a download is the file that was published, check its SHA-256: each release has a .sha256 file next to the MSI, and the install commands check it for you. A published release is never rebuilt.

Windows SmartScreen may warn about an unsigned installer it has not seen often. Install explains what that means and what to do.

Build provenance, from the first release after 0.24.1: each MSI comes with a signed statement that it was built by SSLense's release workflow on GitHub, from the tagged source code, and not changed since. It's published as a GitHub attestation and attached to the release as SSLense-<version>-x64.msi.sigstore.json. With the GitHub CLI, check a downloaded MSI with:

Terminal window
gh attestation verify .\SSLense-<version>-x64.msi --repo panchalvimaldev/sslense

This proves where the file came from. It is not a code-signing certificate, so it doesn't change what SmartScreen shows.

  • SSLense uses few packages, and none is added without review.
  • Every build checks every package, including the ones they bring in, against the NuGet advisory database, and fails on any known vulnerability. A release cannot be built with one.
  • Each release has a software bill of materials (CycloneDX), SSLense-<version>-sbom.cdx.json, next to the MSI, listing every package the apps ship with and its version.
  • Dependabot proposes updates every week.
  • The build workflows use actions pinned to exact commits, each job gets only the permissions it needs, and every change is scanned with GitHub's CodeQL. The repository's practices are scored by OpenSSF Scorecard.

Please do not open a public issue for a security problem. Report it privately.