Day-to-day tools
Redirect HTTP to HTTPS
Section titled “Redirect HTTP to HTTPS”Send a site's HTTP visitors to HTTPS with an IIS URL Rewrite rule that never redirects validation requests, so HTTP validation keeps working. It needs the IIS URL Rewrite module.
In the app: select the certificate, then ⋯ › Redirect HTTP to HTTPS, and ⋯ › Stop redirecting HTTP to undo it.
SSLense.Cli redirect on --site "Shop"SSLense.Cli redirect show --site "Shop"SSLense.Cli redirect off --site "Shop"- SSLense checks the result: a validation request must still get through. If another rule redirects it, for example a server-wide rule, SSLense removes its own rule again and says so (SSL1031).
- Without URL Rewrite installed, it is refused (SSL1029).
Clean up unused certificates
Section titled “Clean up unused certificates”Old certificates pile up in LocalMachine\My. Activity › Unused certificates › Find unused certificates lists those that nothing uses and that are expired, from a test certificate authority, or replaced by a newer certificate for the same names. Tick the ones to remove and choose Remove ticked….

SSLense.Cli cleanup listSSLense.Cli cleanup remove --thumbprint <thumbprint>,<thumbprint> --yes- Never listed: a certificate any IIS binding or FTP site uses, one HTTP.sys binds (such as WinRM's), one SSLense manages or keeps for rollback, and a valid certificate that is not replaced.
- Each one is checked again at removal, and one that has started being used is refused (SSL4054).
- Other services, such as SQL Server or Exchange, choose their certificate in their own settings, which SSLense cannot see. Check them before removing.
Many certificates at once
Section titled “Many certificates at once”Watch every certificate in IIS that SSLense does not manage yet: Add certificate › It's already installed in IIS › Tick all › Watch, or:
SSLense.Cli bulk watchA certificate bound only on a port other than 443 is skipped, with the reason.
Issue for many sites from a CSV file, one certificate per row:
site,hosts,validation,email,caShop,shop.example.com,http,ops@example.com,letsencrypt-stagingBlog,blog.example.com;www.blog.example.com,dns,ops@example.com,letsencrypt-stagingSSLense.Cli bulk issue --file C:\certs.csv --dry-run # runs each row's checks, orders nothingSSLense.Cli bulk issue --file C:\certs.csv- The columns are
site,hosts,validation(http,http-selfordns),names,email,ca,profileandkey; a header row may name them. Several names in one field are separated by;. - One row failing never stops the others, and the command exits with 1 if any row failed.
- A row for a production certificate authority needs
--accept-production-risk, or it fails.
Health check and diagnostics
Section titled “Health check and diagnostics”Activity › Run checks, or SSLense.Cli health, checks the service, permissions, IIS, each certificate, DNS, port 80, and each certificate authority in use, and says what to do about anything wrong. The header shows the latest result.

To check one certificate, select it and choose Check: SSLense connects to each of its domains and compares the certificate served with this one.

For a bug report, Activity › Create bundle, or SSLense.Cli diagnostics, writes a diagnostic bundle with secrets removed. Tick the option to replace site names, host names and site folders with placeholders before posting it in public.