Install
SSLense is installed from one MSI, which contains the desktop app, the command line and the renewal service. Each release on GitHub has the MSI, its SHA-256 in a .sha256 file, and a software bill of materials.
In PowerShell, checked for you
Section titled “In PowerShell, checked for you”This downloads the MSI, checks it against the SHA-256 published with the release, and only then starts the installer. Run it in PowerShell as Administrator, with the version you want:
$version = '0.24.0' # the release to install$ProgressPreference = 'SilentlyContinue' # Windows PowerShell downloads far faster without the progress bar$base = "https://github.com/panchalvimaldev/sslense/releases/download/v$version"$msi = Join-Path $env:TEMP "SSLense-$version-x64.msi"Invoke-WebRequest "$base/SSLense-$version-x64.msi" -OutFile $msi -UseBasicParsingInvoke-WebRequest "$base/SSLense-$version-x64.msi.sha256" -OutFile "$msi.sha256" -UseBasicParsing$expected = (Get-Content "$msi.sha256" -Raw).Trim().Split(' ')[0]if ((Get-FileHash $msi -Algorithm SHA256).Hash -ne $expected) { Remove-Item $msi; throw 'The SHA-256 does not match, so SSLense was not installed.' }Start-Process msiexec.exe -ArgumentList "/i `"$msi`"" -WaitA file downloaded this way is not marked as coming from the internet, so SmartScreen does not step in.
In a browser
Section titled “In a browser”- Download
SSLense-<version>-x64.msifrom the latest release. - Check it: in PowerShell,
Get-FileHash .\SSLense-<version>-x64.msi -Algorithm SHA256must match the SHA-256 on the release page. - Run it, accept the Apache-2.0 license, and choose Install.
If SmartScreen warns
Section titled “If SmartScreen warns”SSLense releases are not code-signed, so Windows may show “Windows protected your PC” for a newly published MSI. This does not mean anything was found in the file: SmartScreen warns about any installer it has not seen often. Once you have checked the SHA-256, choose More info › Run anyway, or right-click the MSI, choose Properties, tick Unblock, and run it.
With winget
Section titled “With winget”Once SSLense is published in the winget repository, winget install sslense installs it and winget upgrade sslense upgrades it. winget checks the MSI against the SHA-256 in its manifest before running it.
What the installer does
Section titled “What the installer does”- Installs to
C:\Program Files\SSLense, and adds the command line to the systemPATH. - Registers and starts the SSLense renewal service, which restarts itself if it fails.
- Adds SSLense to the Start menu and to Apps & features.
- Restricts
C:\ProgramData\SSLense, where certificates, accounts and settings are kept, to Administrators and SYSTEM.
Upgrading stops the service, replaces the files and starts it again. Uninstalling removes the program and the service, but keeps C:\ProgramData\SSLense and leaves your IIS bindings and certificates as they are, so sites keep working.
Silent installs
Section titled “Silent installs”msiexec /i SSLense-0.24.0-x64.msi /qn # silentmsiexec /i SSLense-0.24.0-x64.msi /qn START_SERVICE=0 # silent, service installed but not startedmsiexec /x SSLense-0.24.0-x64.msi /qn # silent uninstallBefore upgrading from an earlier version, read upgrading: some versions rewrite the data files, and the previous version cannot read them afterwards.