Skip to content

Releases

SSLense 0.23.0: several certificates per IIS site, and a simpler app window

Choose a tag to compare

@github-actions github-actions released this 18 Nov 13:34
0a99e31

Highlights

Several certificates on one IIS site

A site that serves several domains, each through its own SNI binding and certificate, can now have every certificate managed on its own. Before, only one certificate per site could be added.

  • The first certificate keeps the site's name (Main). The others are named after the site and their first host name (Main/www.domain2.co.uk). Each has its own expiry, reminders and history.
  • Installing a renewal for one certificate changes only that certificate's bindings. The other certificates on the site are left alone, and validation, the HTTPS check and automatic rollback work as before.
  • SSLense works out from the site and host names which certificate you mean. Host names that belong to two certificates are refused, with the certificates named.
  • In this release, the additional certificates on a site must be bought certificates (watched, imported from a PFX, or requested with a CSR). Several Let's Encrypt or other ACME certificates on one site are planned for 0.24.
  • A site with one certificate works exactly as before.

A simpler app window

  • Three tabs: Certificates, Activity and Settings. Renew all due and Add certificate are always in the header.
  • Certificates: every certificate in one list, grouped by IIS site, with days left and a filter. The certificate you select appears beside the list, with its state in plain words and one main button for the next step: Renew now, Renew by hand or Install renewal.
  • Add certificate first asks where the certificate comes from: free and automatic, bought with a PFX file, bought with a request (CSR), or already installed in IIS. You can tick several existing bindings and watch them in one go.
  • Install renewal opens a dialog: choose the PFX or the provider's certificate, review what will change, then see the result.
  • Check connects to each of the certificate's domains, on every site that uses it, and confirms that the expected certificate is served. It changes nothing.
  • Activity is one page: what is running now, health checks with what to do, and the log.
  • Settings has tabs. Certificate authorities and DNS providers are listed in rows, each with its own actions.

Stop managing a certificate without touching IIS

⋯ › Stop managing, keep it in IIS… removes the certificate from SSLense only. The HTTPS bindings and the certificate in the Windows store stay exactly as they are. On the command line: SSLense.Cli unmanage --site <name>.

Reminders

  • If Start reminding is set to more than 90 days before expiry, SSLense warns you and asks before saving. A long start puts a certificate in the daily email for months. 30 to 60 days is usually enough.
  • Reminder emails now point to the new window: select the certificate and use Install renewal.
  • Fixed: a reminder snooze was saved, but the screen didn't show it.

Command line

  • check --site <name>: checks that each domain serves the expected certificate.
  • unmanage --site <name>: stops managing a certificate and leaves IIS as it is.
  • discover shows the name each binding is or will be managed as.

Upgrading

  • Run the MSI as an administrator. It upgrades in place and keeps your settings, certificates and the Windows service.
  • The managed-certificates file is upgraded to schema 11. Version 0.22 can't read it after the upgrade, so back up C:\ProgramData\SSLense first if you might need to go back.
  • Check Settings › Reminders › Start reminding. If it is above 90 days, consider 30 to 60.

Downloads

Unsigned preview build. Windows SmartScreen may warn until releases are code-signed.

SSLense 0.22.1

SSLense 0.22.1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 13 Nov 09:56
e767778

Unsigned preview build. Windows SmartScreen may warn until releases are code-signed. SHA-256: 9d13542c3a5aadb0f1a625870522cd592eaadf51201032d0e435467d8a31eb88

SSLense 0.22.0

SSLense 0.22.0 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 12 Nov 13:58
7a3cb93

Certificates for more than IIS sites, and DNS validation at any DNS host

This release brings together 0.17 to 0.21, which were not released separately.

DNS validation through acme-dns

DNS validation now works at any DNS host, even one without an API. Create one CNAME once, and SSLense renews through an acme-dns account that can change only the validation record, never the rest of your DNS.

SSLense.Cli dns add --provider acme-dns --name "Shop acme-dns" --domain example.com --server https://auth.acme-dns.io
  • Register or import: register a new account on any acme-dns server, or import an existing one. The password is encrypted with Windows DPAPI and never appears in logs or diagnostic bundles.
  • The CNAME is checked before each order and daily.
  • The account's two-value limit is checked before ordering. A wildcard with its base name fits; SSLense refuses a certificate that needs more.
  • In the app: Settings → DNS providers.

Deployment steps

Run steps after a certificate is installed and after every renewal:

SSLense.Cli deploy add --site "Shop" --grant-key-access "IIS AppPool\Shop"
SSLense.Cli deploy add --site "Shop" --restart-service MSSQLSERVER
SSLense.Cli deploy add --site "Shop" --script C:\Scripts\my-deploy.ps1
  • Grant private-key access to an app pool or service account, restart a Windows service, or run a PowerShell script, which receives the new and previous thumbprints, the host names and the expiry date.
  • A failing step keeps the previous certificate in the store and is retried every hour. You get a notification on the first failure and when the step recovers.
  • In the app: Certificate Details → Deployment steps, with Run now.

Certificates without an IIS site

Issue and renew certificates for Remote Desktop, SQL Server, Exchange and other services, using DNS validation:

SSLense.Cli issue --no-site "Remote Desktop" --names rdp.example.com --validation dns --email ops@example.com
SSLense.Cli deploy add --site "Remote Desktop" --script "C:\Program Files\SSLense\deploy-scripts\RemoteDesktop.ps1"

Example scripts for Remote Desktop, SQL Server and Exchange are installed in deploy-scripts, with a template for your own. In the app, tick No IIS site in Issue Certificate.

Export

Copy a certificate to other systems after every renewal, as a PFX, as PEM files, or into the IIS Centralized Certificate Store:

SSLense.Cli issue --site "Shop" --email ops@example.com --exportable-key
SSLense.Cli deploy add --site "Shop" --export-pfx D:\Certs\shop.pfx
SSLense.Cli deploy add --site "Shop" --export-pem D:\Certs\shop
SSLense.Cli deploy add --site "Shop" --central-store \\fileserver\ccs

Export works only for certificates issued with an exportable key; private keys stay non-exportable by default. Passwords are encrypted with DPAPI, files are written whole or not at all, and key.pem can be read only by Administrators, SYSTEM and the account that wrote it.

Key type, chain and profile

SSLense.Cli issue --site "Shop" --email ops@example.com --key rsa-3072 --preferred-chain "ISRG Root X1" --profile shortlived
  • Key type: ECDSA P-256 (the default) or P-384, or RSA 2048, 3072 or 4096.
  • Preferred chain and ACME profile, such as Let's Encrypt's short-lived certificates. SSLense.Cli ca test lists the profiles a CA offers.
  • Every renewal keeps the choices. In the app, they are under Advanced in Issue Certificate.

Private-key reuse

--reuse-key keeps the same private key at every renewal, for key pinning and DANE TLSA records. The certificate request is signed in the Windows key store, so the key never leaves it. If the key can't be reused, the renewal uses a new key and says so, rather than let the certificate expire.

Upgrading

Install the MSI over 0.16. Settings and certificates are kept, and nothing changes until you use a new feature.

The first save moves config.json and managed-certificates.json to newer formats, which 0.16 cannot read. The originals are kept as config.json.v7.bak and managed-certificates.json.v5.bak. To go back to 0.16, restore those copies. Certificates issued since are then no longer managed.

Notes

  • Unsigned preview build. Windows SmartScreen may warn until releases are code-signed.
  • SHA-256 of SSLense-0.22.0-x64.msi: 0f9c176cc4118bddd5587599e455db62b2831725b0e8d0c95c1f779df8503e7f

SSLense 0.16.0

SSLense 0.16.0 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 12 Nov 06:23
885201b

Any ACME certificate authority

SSLense can now issue and renew from any certificate authority that supports ACME, not only Let's Encrypt.

SSLense.Cli ca add --preset zerossl --eab
SSLense.Cli issue --site "Shop" --hosts shop.example.com --email admin@example.com --ca zerossl --accept-production-risk
  • Presets for ZeroSSL, Google Trust Services (and its test endpoint), SSL.com and Sectigo DV, or any ACME directory URL, such as an internal CA.
  • External Account Binding (EAB) for CAs that require it. The HMAC key is encrypted with Windows DPAPI and never appears in logs or diagnostic bundles.
  • In the app: Settings → Certificate authorities, and a certificate authority choice in the Issue wizard.
  • CAA checks for every CA. SSLense reads the CAA names each CA publishes and checks them before ordering.
  • HTTP and DNS validation, DNS scripts and shared certificates work with every CA. A certificate always renews with the CA that issued it; SSLense never switches CA on its own.

Changed

  • Issuing from any CA whose certificates are trusted now needs --accept-production-risk, or the confirmation in the app, as Let's Encrypt production always has. Automatic renewals are unaffected.
  • SSLense's own requests to a CA now send a User-Agent, which the ACME standard requires and some CAs enforce.

Upgrading

Install the MSI over 0.15. Settings and certificates are kept, and nothing changes until you add a certificate authority.

Tested in CI against Pebble, Let's Encrypt's ACME test server, with EAB, and with Let's Encrypt staging.

SHA256 SSLense-0.16.0-x64.msi: <paste from the .sha256 file>

SSLense 0.15.0

SSLense 0.15.0 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 09 Nov 13:16
218f8b7

Unsigned preview build. Windows SmartScreen may warn until releases are code-signed. SHA-256: db5b91219e69159fb0d197cb6fcd89c57aaeec37ae22fcb5e4fd8eca392dca3e

SSLense 0.14.0

SSLense 0.14.0 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 09 Nov 07:25
900069f

One certificate across several IIS sites

You can now share one certificate across several IIS sites. They renew together, and SSLense moves them to each new certificate one site at a time. It tries the certificate before touching any site, confirms over HTTPS what each site serves, and puts a site back if something goes wrong.

SSLense.Cli share add --from "Shop" --to "Blog" --hosts "blog.example.com"
SSLense.Cli share remove --site "Blog"

The app has a new Sites using this certificate section to add and remove sites.

A site with a problem doesn't hold back the others:

  • A stopped site is still updated.
  • A deleted site, or one whose binding was removed, stays on the previous certificate. SSLense moves it once it's back, without ordering a new certificate.
  • A site that doesn't answer stops the renewal while more than 7 days are left. In the last 7 days, the other sites renew without it.

Sharing needs a certificate that SSLense obtains with DNS validation.

Fixed

  • HTTP validation on IIS without ASP.NET. HTTP validation always failed with error 500 on a server without ASP.NET installed, such as a plain static site. SSLense now writes only the web.config settings that IIS allows in the challenge folder. This affected earlier releases too.

Upgrading

  • Install the MSI over 0.13. Your certificates and settings are kept.
  • The first time SSLense saves after the upgrade, it changes the format of managed-certificates.json and keeps a copy of the old file as managed-certificates.json.v4.bak. Older versions refuse the new format, so going back means restoring that copy.

Tested on Windows 11 and Windows Server with IIS 10, on Let's Encrypt staging and production.

SHA256 SSLense-0.14.0-x64.msi: 17E74A2E0940E6FA9569D4D576A41A04B00DD60ECBF87F290FA1C473F44AD8C4

SSLense 0.13.0

SSLense 0.13.0 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 03 Nov 15:51
870c698

Unsigned preview build. Windows SmartScreen may warn until releases are code-signed. SHA-256: b5240699c130f0238e34b4c90676e46d0b2c36fbba42f08cac67d89781779f9f

SSLense 0.12.1

SSLense 0.12.1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 02 Nov 16:04
b9d75f1

Unsigned preview build. Windows SmartScreen may warn until releases are code-signed. SHA-256: 003e1f828f3f22e1d8db91fb5d6927d25c7c53ad9b42f7a233f86ca6b9ab916b

SSLense 0.12.0

SSLense 0.12.0 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 02 Nov 13:26

Unsigned preview build. Windows SmartScreen may warn until releases are code-signed. SHA-256: 968a4133276b0006395f86159d971543d8bb51c080a88edd09271cc4279bb5dc

SSLense 0.11.1

SSLense 0.11.1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 02 Nov 10:42

Unsigned preview build. Windows SmartScreen may warn until releases are code-signed. SHA-256: e82cb649401147979da5ec8c1a86cd98a1eefa74ca2df318c08394a4d50530d8