Skip to content

Certificates you bought

Some sites use a certificate bought from a provider such as Sectigo, DigiCert or 123-reg, without ACME. SSLense installs and binds these with the same safety checks as its own: it checks the certificate first, confirms over HTTPS that the site serves it, and puts the previous binding back if not. It reminds you to order the next one, and never tries to renew them itself.

In the app, choose Add certificate, then where the certificate comes from: a file you have, a provider that needs a request (CSR), or a certificate already installed in IIS.

The private key is created on this server, as a non-exportable machine key that never leaves it.

In the app: Add certificate › I bought it and the provider needs a request. Under New request, choose the IIS site, the Key type and the Domains, and choose Create request; Copy or Save as… gives it to you for the provider's order form. The request then waits under Waiting for your provider. When the provider sends the certificate, choose the request, browse to the Certificate from the provider and, if they sent one, the Intermediate bundle, and choose Install certificate.

A request waiting for the provider: the CSR to copy, and the fields for the certificate they send back

From the command line:

Terminal window
SSLense.Cli csr --site "Shop" --hosts shop.example.com,www.shop.example.com # saves the request on the Desktop
# Paste the request into the provider's order form. When the certificate is issued:
SSLense.Cli complete --site "Shop" --certificate .\shop_example_com.crt --chain .\shop_example_com.ca-bundle
SSLense.Cli pending # open requests
SSLense.Cli cancel-request --site "Shop" # abandon a request and delete its key
  • --key rsa3072 or --key ec256 changes the key type; the default, rsa2048, is one every provider accepts.
  • Certificate files can be PEM (.crt, .pem, several certificates in one file) or DER (.cer). For a .p7b bundle, export its certificates as Base-64 .cer first.

In the app: Add certificate › I bought it and have the file. Choose the IIS site, browse to the PFX file, type its Password, and choose Install. Domains to bind is optional: leave it empty to bind every host name of the site that the certificate covers.

Installing a PFX file: the IIS site, the file, its password, and Install

From the command line:

Terminal window
SSLense.Cli import --site "Shop" --pfx .\shop.pfx # the password is asked for

--hosts defaults to the site's host names that the certificate covers.

Start reminders for a certificate that is already bound, without changing anything in IIS. In the app: Add certificate › It's already installed in IIS, tick its HTTPS bindings, and choose Watch.

The HTTPS bindings in IIS, which certificate each uses and when it expires, with the ones already watched greyed out

Terminal window
SSLense.Cli discover # HTTPS bindings, and whether SSLense manages them
SSLense.Cli adopt --site "Shop" # --thumbprint when the site uses several certificates

To watch every certificate in IIS that SSLense does not manage yet, use Tick all, or SSLense.Cli bulk watch.

The daily digest reminds you from 30 days before expiry (you can change that). Order the renewal from your provider, then select the certificate in the app and choose Install renewal. Choose what the provider gave you, a PFX file or a certificate file for a request SSLense created, and choose Next: SSLense shows what will change before anything does. Only this certificate's bindings change. From the command line, use csr and complete, or import, again.

Install renewal, step 1 of 3: a PFX file with its password, or a certificate file for the request SSLense created

The certificate must cover the hosts, be valid now, be meant for server authentication, match its private key, and chain to a trusted root. A missing intermediate certificate is reported with a hint to use --chain. Replacing a certificate that SSLense renews from Let's Encrypt needs --force.

A load balancer, firewall or appliance that serves HTTPS itself can be watched too. SSLense reads its certificate every day, reminds you before it expires, and notices when it is replaced. It never changes anything there.

In the app: Add certificate › It's already installed in IIS › On another machine. From the command line:

Terminal window
SSLense.Cli watch --name "Load balancer" --host lb.example.com
SSLense.Cli watch --name "Router" --host 192.168.1.1 --port 8443