Skip to content

Error codes

Every error SSLense explains starts with a code, such as SSL1003. The code is the same in the app, the command line, the log, notifications, the daily digest and the Windows Event Log, and it never changes meaning, so you can search for it. The first digit says where to look.

This page is generated from src/SSLense.Core/Errors/ErrorCodes.cs; do not edit it by hand.

SSL1xxx: IIS: sites, bindings, challenge files, the HTTPS check and rollback

Section titled “SSL1xxx: IIS: sites, bindings, challenge files, the HTTPS check and rollback”

Check the site name with 'SSLense.Cli list-sites' or in IIS Manager. A site renamed or deleted in IIS must be managed again under its new name.

HTTP validation writes the challenge file into the site's folder. Set the site's physical path in IIS Manager, or use DNS validation.

SSL1003: Host name has no suitable binding

Section titled “SSL1003: Host name has no suitable binding”

Add an HTTP binding on port 80 for the host name in IIS Manager (HTTP validation), or an HTTP or HTTPS binding (DNS validation), then try again.

SSL1004: IIS configuration could not be read

Section titled “SSL1004: IIS configuration could not be read”

Run SSLense as Administrator. If it still fails, check that IIS is installed and its configuration files are not locked or damaged.

SSL1005: IIS management components are missing

Section titled “SSL1005: IIS management components are missing”

Install 'IIS Management Scripts and Tools' (Server Manager, Web Server role), then start SSLense again.

SSLense uses netsh to manage certificate bindings. Check that C:\Windows\System32\netsh.exe exists and is not blocked by policy.

SSL1007: HTTPS binding missing after it was set

Section titled “SSL1007: HTTPS binding missing after it was set”

IIS did not keep the binding. The previous binding is restored. Check for another tool or script changing bindings at the same time, then try again.

SSL1008: IIS did not keep the certificate on the binding

Section titled “SSL1008: IIS did not keep the certificate on the binding”

The previous binding is restored. Check for another tool changing bindings, and that the certificate is in LocalMachine\My with its private key.

SSL1009: HTTPS binding could not be changed

Section titled “SSL1009: HTTPS binding could not be changed”

The message says what failed and whether the previous binding was restored. Run SSLense as Administrator and check the log under Activity.

The binding was changed to another certificate outside SSLense, so it was left alone. Remove it in IIS Manager if it is no longer needed.

SSL1011: Binding removal could not be confirmed

Section titled “SSL1011: Binding removal could not be confirmed”

The certificate was kept in the store to be safe. Check the site's bindings in IIS Manager, then remove the certificate if nothing uses it.

Run SSLense as Administrator and try again.

SSL1013: The site does not serve the new certificate

Section titled “SSL1013: The site does not serve the new certificate”

SSLense connected over HTTPS and got another certificate, so it restored the previous binding. Check for a load balancer, proxy or CDN in front of the server, or another binding on the same IP and port.

SSL1014: Previous binding no longer exists

Section titled “SSL1014: Previous binding no longer exists”

The binding was removed while SSLense was changing it. Check the site's bindings in IIS Manager and add the HTTPS binding again if needed.

Nothing answered with a certificate on that host name and port. Check that the site is started and has an HTTPS binding for the host name.

SSLense could not reach the host name on port 80 from this server. Check the DNS record, the firewall, and that the site is started. Behind NAT, check that the server can reach its own public address, or use DNS validation.

The site answered with an error for the challenge file. Check for a rule that redirects or blocks /.well-known/acme-challenge/, authentication on the site, or a missing static file handler.

SSL1018: Challenge file served with the wrong content

Section titled “SSL1018: Challenge file served with the wrong content”

Another server or a rewrite rule answered instead of this site. Check DNS, proxies and URL Rewrite rules for the host name.

SSL1019: Previous bindings not fully restored

Section titled “SSL1019: Previous bindings not fully restored”

A binding change failed and SSLense could not confirm every previous binding was put back. Check the named sites in IIS Manager now: a site may be serving the wrong certificate or none.

SSL1020: IIS returned a binding SSLense cannot read

Section titled “SSL1020: IIS returned a binding SSLense cannot read”

Check the site's bindings in IIS Manager for a malformed entry.

Try again; if it repeats, restart the HTTP service or the server.

SSL1022: Site did not answer on port 80 in time

Section titled “SSL1022: Site did not answer on port 80 in time”

Check the firewall and that the site is started. Behind NAT, check that the server can reach its own public address, or use DNS validation.

A host name has no HTTPS binding with the managed certificate. Renew the certificate to bind it again, or check the bindings in IIS Manager.

The site does not serve the certificate SSLense installed. Check for a binding changed outside SSLense, another binding on the same IP and port, or a proxy in front of the server.

The daily check could not connect to the host name from this server. Check the site is started and the firewall, and DNS for the name on this server.

SSLense could not write to the site's .well-known\acme-challenge folder. Run SSLense as Administrator, and check the site's physical path and its permissions.

SSL1027: Site serves an expired certificate

Section titled “SSL1027: Site serves an expired certificate”

The site serves the certificate SSLense expects, but it has expired. Renew it now.

SSLense answers the challenge through HTTP.sys, which IIS also uses. Run SSLense as Administrator. If another program, such as Apache or nginx, holds port 80 outside HTTP.sys, stop it during validation or use DNS validation.

The HTTPS redirect is an IIS URL Rewrite rule. Install the URL Rewrite module for IIS from Microsoft, then try again.

Redirecting HTTP to HTTPS would send visitors nowhere. Give the site a certificate first.

After the rule was added, a validation path on the site was still redirected, so SSLense removed the rule. Check for another redirect rule or module on the site, or in its parent configuration.

SSL1032: Site folder is IIS's configuration history

Section titled “SSL1032: Site folder is IIS's configuration history”

The site's physical path is IIS's configuration history folder (C:\inetpub\history), where IIS keeps backups of its configuration and which only Administrators can read. Give the site its own folder in IIS Manager › Basic Settings.

With HTTP validation the certificate authority fetches a file from the site, and a stopped site answers nothing: IIS gives the request to another site, such as the Default Web Site. Start the site in IIS Manager (Manage Website › Start), or use DNS validation, or HTTP answered by SSLense (--validation http-self).

SSL2001: Production certificate authority not confirmed

Section titled “SSL2001: Production certificate authority not confirmed”

Try the site with Let's Encrypt staging first, then confirm production in the app or with --accept-production-risk.

SSL2002: Certificate authority not reachable

Section titled “SSL2002: Certificate authority not reachable”

Check outbound HTTPS (port 443) from this server, DNS, any proxy, and TLS inspection.

SSL2003: Unexpected challenges from the certificate authority

Section titled “SSL2003: Unexpected challenges from the certificate authority”

The certificate authority returned something SSLense did not ask for. Try again later; if it keeps happening, report it with the log.

SSL2004: Unexpected authorization from the certificate authority

Section titled “SSL2004: Unexpected authorization from the certificate authority”

The certificate authority returned something SSLense did not ask for. Try again later; if it keeps happening, report it with the log.

Choose one of the profiles the certificate authority lists, or leave the profile empty.

The certificate authority does not allow HTTP validation for this name, for example for a wildcard. Use DNS validation.

The certificate authority does not allow DNS validation for this name. Use HTTP validation.

SSL2008: External Account Binding key cannot be read

Section titled “SSL2008: External Account Binding key cannot be read”

The key was saved on another server or by another account. Remove the certificate authority and add it again with its EAB credentials.

The certificate authority could not confirm control of the name. The message gives its reason; for HTTP validation check port 80 and DNS, for DNS validation check the TXT record.

The order did not complete. The message gives its state; try again later, and check the certificate authority's status page.

SSL2011: ACME directory answered with an error

Section titled “SSL2011: ACME directory answered with an error”

Check the directory address of the certificate authority.

Check the address, outbound HTTPS, DNS and any proxy.

SSL2013: ACME directory did not answer in time

Section titled “SSL2013: ACME directory did not answer in time”

Check the address, outbound HTTPS and any proxy, then try again.

The address answered, but not with an ACME directory. Check that it is the directory URL the certificate authority documents.

SSL2015: Certificate authority not configured

Section titled “SSL2015: Certificate authority not configured”

Add the certificate authority under Settings › Certificate authorities, or with 'SSLense.Cli ca add'.

SSL2016: Certificate authority already exists

Section titled “SSL2016: Certificate authority already exists”

Remove the existing one first, or choose another ID.

SSL2017: External Account Binding now required

Section titled “SSL2017: External Account Binding now required”

The certificate authority now asks for EAB credentials. Remove it and add it again with them.

Let's Encrypt is built in and cannot be removed.

Move the listed certificates to another certificate authority first, or remove them.

Another SSLense operation is using or changing this certificate authority. Try again in a few minutes.

The current key is neither RSA nor ECDSA. Turn key reuse off for this certificate.

SSL2022: Site already has a valid certificate

Section titled “SSL2022: Site already has a valid certificate”

Tick 'Replace the current certificate even if it is still valid', or use --force, to replace it.

SSL2023: Host name not covered by the certificate names

Section titled “SSL2023: Host name not covered by the certificate names”

Add the host name, or a wildcard that covers it, to the certificate names, or leave the host name out.

Select at least one host name, or add a named binding to the site in IIS Manager.

The certificate authority's limit for this account or these names was reached. SSLense waits and tries again at a later scheduled check; retrying sooner only extends the limit.

The certificate authority did not finish checking in time. Try again; if it repeats, check port 80 or the DNS record from outside your network.

SSL2027: Certificate authority details not valid

Section titled “SSL2027: Certificate authority details not valid”

Check the preset, name, ID, directory URL and CAA domain; the message says which one.

SSL2028: External Account Binding details missing

Section titled “SSL2028: External Account Binding details missing”

Enter both the EAB key ID and the HMAC key from your account at the certificate authority.

Copy the HMAC key again from the certificate authority's account page; it is Base64url text.

The certificate authority did not revoke the certificate; the message gives its reason. If SSLense already replaced it, the old certificate was saved so you can try again with 'SSLense.Cli revoke --file --ca '.

SSL2031: No ACME account for the certificate authority

Section titled “SSL2031: No ACME account for the certificate authority”

SSLense has not created an account with this certificate authority yet; it creates one with the first certificate. There is no key to replace.

This SSLense process cannot use DNS validation. Use the app or the CLI on the server, or HTTP validation.

SSL3002: Too many names for one acme-dns account

Section titled “SSL3002: Too many names for one acme-dns account”

An acme-dns account keeps two values: a name and its wildcard. Split the names across certificates, or add another acme-dns account.

A public certificate authority can only validate names in public DNS. Check the domain is registered and delegated, or use an internal certificate authority.

The TXT record was not seen at every authoritative name server in time. Check the record at your DNS host, and try again in a few minutes.

Nothing was ordered. Create the TXT records shown and confirm, or cancel.

Create the CNAME record shown at your DNS host, wait for it to appear, then try again.

Add a DNS provider for the zone under Settings › DNS providers, delegate the record with a CNAME, or use manual DNS.

The provider was added by a newer SSLense version. Update SSLense, or remove the provider and add it again.

Check the CNAME records for the name at your DNS host: they form a loop or a chain longer than SSLense follows.

Remove the existing provider first, or choose another name.

SSL3011: DNS provider for the zone already exists

Section titled “SSL3011: DNS provider for the zone already exists”

Remove the existing provider for the zone first to replace it.

SSL3012: DNS provider added at the same time

Section titled “SSL3012: DNS provider added at the same time”

Another SSLense window or command added the same provider. Refresh and check the list.

Use the app or the CLI on the server to set up acme-dns.

The account is already set up as another provider. Remove that one first.

SSL3015: acme-dns already set up for the domain

Section titled “SSL3015: acme-dns already set up for the domain”

Remove the existing acme-dns account for the domain first to replace it.

The script said it added the TXT record, but this server could not see it. Check what the script does, and the record at your DNS host.

A certificate is being validated through this account right now. Test again in a few minutes.

Allow outbound DNS (UDP and TCP port 53) from this server, so SSLense can confirm records before ordering.

SSL3019: DNS provider does not use a script

Section titled “SSL3019: DNS provider does not use a script”

Only script providers have a script to update.

Another update replaced the script while this one was checked. Check the script, then update it again if needed.

Move the listed certificates to another validation method first, or remove them.

Check the name under Settings › DNS providers, or with 'SSLense.Cli dns list'.

SSL3023: DNS provider removed at the same time

Section titled “SSL3023: DNS provider removed at the same time”

Another SSLense window or command removed the provider. Refresh and check the list.

SSLense will not use a link or junction for scripts. Remove it and let SSLense create the folder again.

SSLense runs only its own checked copy of a script. The message says what is wrong; update the script with 'SSLense.Cli dns update-script' or in Settings.

Remove the provider and add it again with its script.

The script ended with an error; its last output is in the message. Run it by hand with the same action to see why.

SSL3028: DNS provider secret cannot be read

Section titled “SSL3028: DNS provider secret cannot be read”

The secret was saved on another server or by another account. Replace it with 'SSLense.Cli dns update-token' or in Settings.

Check that the token can read the zone, and that the zone name matches the domain on Cloudflare.

The message gives Cloudflare's answer. Check the token's permissions (Zone › DNS › Edit) and that it has not expired.

SSL3031: acme-dns account cannot set this name

Section titled “SSL3031: acme-dns account cannot set this name”

Each acme-dns account sets one name. Use the account set up for this domain, or add one.

SSL3032: acme-dns server returned no account

Section titled “SSL3032: acme-dns server returned no account”

Check that the address is an acme-dns server.

Check the address, outbound HTTPS and any proxy.

SSL3034: acme-dns server did not answer in time

Section titled “SSL3034: acme-dns server did not answer in time”

Check the address, outbound HTTPS and any proxy, then try again.

SSL3035: acme-dns server refused the request

Section titled “SSL3035: acme-dns server refused the request”

The message gives the server's answer. Check the account's credentials and its allowed networks.

Check the name, zone, token, script or acme-dns details; the message says which one.

SSL3037: Unexpected input for a DNS script

Section titled “SSL3037: Unexpected input for a DNS script”

SSLense refused to pass an unexpected zone, record name or value to the script. Report it with the log.

Add an A or AAAA record for the host name at your DNS host.

SSL3039: The DNS service refused the request

Section titled “SSL3039: The DNS service refused the request”

The message gives the service's answer. Check the credentials and that they may change records in this zone: for Route 53 the IAM policy (route53:ChangeResourceRecordSets, ListResourceRecordSets, GetHostedZone), for Azure the DNS Zone Contributor role, for Google the DNS Administrator role, and that the zone ID is right.

SSL4xxx: Certificates: import, requests, the Windows store, keys and sharing

Section titled “SSL4xxx: Certificates: import, requests, the Windows store, keys and sharing”

SSL4001: Certificate served on another port

Section titled “SSL4001: Certificate served on another port”

SSLense replaces a certificate on the site's port 443 bindings, and bindings on other ports follow them. A certificate bound only on other ports needs a port 443 binding on the site first.

The site has no HTTPS binding with a certificate. Add one in IIS Manager, or issue a certificate instead.

Choose the certificate to watch: tick its binding in the app, or give --thumbprint.

SSL4004: Bound certificate missing from the store

Section titled “SSL4004: Bound certificate missing from the store”

IIS points to a certificate that is not in LocalMachine\My. Install it again, or bind another certificate.

A certificate needs its private key on this server to be served. Import the PFX that includes the key.

SSL4006: HTTPS bindings without host names

Section titled “SSL4006: HTTPS bindings without host names”

SSLense takes the host names from the site's bindings, or from the certificate when a binding has none. Add a host name to the binding in IIS Manager, or use a certificate that names its hosts.

These host names are managed as another certificate on the site. Select that certificate instead.

Create a request first ('csr', or Add certificate › I bought it and the provider needs a request), or import a PFX.

The key for this request no longer exists on this server. Create a new request and send it to the provider again.

SSL4010: Certificate does not match the request

Section titled “SSL4010: Certificate does not match the request”

None of the certificates in the file was issued for this server's request. Check you downloaded the right certificate.

Create a new request with an RSA or ECDSA key.

SSL4012: PFX does not hold one certificate with its key

Section titled “SSL4012: PFX does not hold one certificate with its key”

Export the PFX again with the certificate and its private key.

SSL4013: Certificate covers none of the site's host names

Section titled “SSL4013: Certificate covers none of the site's host names”

Check you chose the right site and file, or add a binding for a name the certificate covers.

Importing replaces a certificate SSLense renews automatically, and stops that. Confirm with --replace-automatic if that is what you want.

This certificate is already installed and bound. Nothing needs to change.

The certificate failed a check before anything changed. The message lists the problems: names, dates, purpose, key or chain.

A site that shares a certificate with other sites has only that one. Add the host names to the shared certificate, or stop sharing first.

SSL4018: Several pending requests on the site

Section titled “SSL4018: Several pending requests on the site”

Choose the request by its certificate name, such as --site "Main/www.example.com".

SSL4019: Certificate could not be added to the store

Section titled “SSL4019: Certificate could not be added to the store”

Run SSLense as Administrator, and check that LocalMachine\My is not full or locked by policy.

Check the password, and run SSLense as Administrator.

SSL4021: Certificate not linked to its key

Section titled “SSL4021: Certificate not linked to its key”

The certificate was added without its private key. Import it again from the PFX or complete the request again.

SSL4022: Shared certificate missing from the store

Section titled “SSL4022: Shared certificate missing from the store”

Renew the certificate first, then share it.

SSL4023: Shared certificate has no private key

Section titled “SSL4023: Shared certificate has no private key”

Renew the certificate first, then share it.

Renew the certificate first, then share it.

To stop managing it, use Remove or 'SSLense.Cli remove'.

SSL4026: Certificate cannot be shared to a site with several certificates

Section titled “SSL4026: Certificate cannot be shared to a site with several certificates”

A site that has several certificates of its own cannot also take a shared one. Issue a certificate for the host names instead, or share a certificate from that site to another.

SSL4027: Only SSLense's own certificates can be shared

Section titled “SSL4027: Only SSLense's own certificates can be shared”

Issue a certificate with SSLense for the sites instead.

Issue the certificate again with DNS validation, then share it.

SSL4029: Site already uses this certificate

Section titled “SSL4029: Site already uses this certificate”

Nothing needs to change.

SSL4030: Site has its own shared certificate

Section titled “SSL4030: Site has its own shared certificate”

Stop sharing that one first with 'share remove'.

Add --replace to give the site the shared certificate instead.

SSL4032: No bindings the certificate covers

Section titled “SSL4032: No bindings the certificate covers”

Add a binding for a name the certificate covers, or name the host names to use.

SSL4033: Certificate does not cover the host name

Section titled “SSL4033: Certificate does not cover the host name”

Choose host names the certificate covers, or issue it again with the name.

The host name already has an HTTPS binding on another IIS site. Remove that binding first.

The message names the site and its problem. Fix it, or stop sharing with that site.

Every sharing site has a problem, so nothing was ordered. Fix them, then try again.

SSL4037: Wildcard already in another certificate on the site

Section titled “SSL4037: Wildcard already in another certificate on the site”

Add the host names to the certificate that has the wildcard.

SSL4038: Wildcard already managed for another site

Section titled “SSL4038: Wildcard already managed for another site”

Share that certificate with this site instead of issuing a copy.

SSL4039: Site uses another site's certificate

Section titled “SSL4039: Site uses another site's certificate”

Use 'share remove' to stop managing only this site.

A certificate you import or request cannot replace one shared with other sites. Stop sharing first.

Choose a PEM (.crt, .pem) or DER (.cer) certificate. Export a .p7b or .pfx as a Base-64 .cer first.

SSL4042: Shared certificate needs attention

Section titled “SSL4042: Shared certificate needs attention”

A site sharing the certificate has a problem or was left on its previous certificate. The message names the site; fix it, or stop sharing with it.

SSL4043: Host covered by the wildcard but not managed

Section titled “SSL4043: Host covered by the wildcard but not managed”

The site has a binding the wildcard covers, but SSLense does not manage it, so it keeps its old certificate. Add the host name to the certificate, or remove the binding.

Stop sharing with it: 'SSLense.Cli share remove --site '.

An intermediate certificate is missing or expired, so some visitors may not trust the site. Install the certificate again with its full chain.

A certificate request has waited over 30 days. Complete it with the provider's certificate, or delete it.

SSL4049: Certificate belongs to a pending request

Section titled “SSL4049: Certificate belongs to a pending request”

The file is the certificate your provider issued for a request SSLense created; its key is already on this server. Use Install renewal, or Complete a request ('SSLense.Cli complete').

SSL4050: Certificate without its private key

Section titled “SSL4050: Certificate without its private key”

A certificate file without its key cannot be installed on its own. Import the PFX that holds both, or complete the request SSLense created.

SSL4051: Bought certificates are revoked by the provider

Section titled “SSL4051: Bought certificates are revoked by the provider”

Ask your provider to revoke it (most have a button for a compromised key), get a new certificate with a new key, and install it with Install renewal.

SSL4052: Manual DNS certificate cannot be replaced automatically

Section titled “SSL4052: Manual DNS certificate cannot be replaced automatically”

Renew it by hand first (Renew by hand, with a new key), then revoke the old certificate: 'SSLense.Cli revoke --file --ca '.

SSL4053: Certificate on another machine could not be read

Section titled “SSL4053: Certificate on another machine could not be read”

SSLense connects to the host and port to read the certificate it serves. Check the name or address, the port, and that this server can reach it through any firewall.

Only a certificate that nothing uses, that SSLense does not manage, and that is expired, a test leftover or replaced is removed. List the candidates again.

SSLense goes back only to the certificate the last renewal replaced, while it is still in LocalMachine\My with its private key, valid for at least another day, covers the site's names and was not revoked. Renew the certificate instead, or fix the setting that made the new one fail.

The step needs an IIS site with an FTP binding, from the FTP Server role service of IIS. Check the site's name in IIS Manager and that it has an ftp binding.

SSLense binds the certificate with 'netsh http add sslcert' or 'update sslcert' and reads it back. Run SSLense as Administrator, check the endpoint with 'netsh http show sslcert', and that the certificate has its private key.

The step sets the certificate of a Windows feature on this server. Turn on Remote Desktop, or check the SQL Server instance's name (MSSQLSERVER for the default instance) in SQL Server Configuration Manager.

SSL5xxx: Renewal, reminders and the service

Section titled “SSL5xxx: Renewal, reminders and the service”

An operation record disappeared while it was in use. Check the log, and run the health check.

SSL5002: Renewed certificate has no thumbprint

Section titled “SSL5002: Renewed certificate has no thumbprint”

Report this with the log; the previous certificate stays in place.

SSL5003: Service installed but not started

Section titled “SSL5003: Service installed but not started”

The message gives Windows' reason. Check the Windows Event Log, then start the service from Settings › Service.

Install SSLense with its installer, which adds the service.

Run SSLense as Administrator.

Check that C:\Windows\System32\sc.exe exists and is not blocked by policy.

SSL5007: Certificate changed while waiting

Section titled “SSL5007: Certificate changed while waiting”

Another SSLense window, command or the service changed the certificate while this operation waited for it. Refresh, check the certificate, and try again.

Enter a value in the range the message gives.

Give either --all or --site, not both or neither.

Install SSLense with its installer, or give the path of SSLense.Service.exe.

SSL5011: Reminders off for a certificate that expires soon

Section titled “SSL5011: Reminders off for a certificate that expires soon”

Turn its reminders back on, or renew it.

An operation stopped part-way, for example at a restart. SSLense finishes or undoes it when the service starts; restart the service, then check again.

Start the SSLense service under Settings › Service, or in services.msc.

Check the service in services.msc and the Windows Event Log.

The service records one an hour after it starts. Check that it is running.

The service has not completed a check recently. Check that it is running, and its log.

SSL5017: Last renewal check reported a problem

Section titled “SSL5017: Last renewal check reported a problem”

The message gives the problem; check the log under Activity.

Order the renewal from your provider, then use Install renewal.

SSL5019: Manual DNS certificate expires soon

Section titled “SSL5019: Manual DNS certificate expires soon”

Renew it by hand: select it and choose Renew by hand.

SSL5020: Automatic certificate not renewed in time

Section titled “SSL5020: Automatic certificate not renewed in time”

Check the renewal history for the reason, fix it, and renew now.

The message gives the last error. Fix it; SSLense retries on its schedule.

Choose at least one day, and hours from 0 to 23 with the end different from the start. An end earlier than the start means the next day, as 22 to 4.

SSL6001: Host names belong to several certificates

Section titled “SSL6001: Host names belong to several certificates”

Choose the host names of one certificate on the site.

The name is used by a certificate for other host names. Replace that certificate by its name, or choose the host names in another order.

SSL6003: Host names already have a certificate

Section titled “SSL6003: Host names already have a certificate”

Each host name on a site has one certificate. Replace that certificate instead.

A certificate with no IIS site needs a name that is not a site's. Choose another name.

Use --force to replace it now, or wait for it to renew.

SSL6006: Name is a certificate with no IIS site

Section titled “SSL6006: Name is a certificate with no IIS site”

Renew it by its name, or remove it first to use the name for a site.

A '/' names a second certificate on an IIS site. Choose a name without it.

SSLense will not use a link or junction for its data folder. Replace it with a real folder.

Run SSLense as Administrator.

Check the name in the certificate list.

Enter a full email address, such as admin@example.com.

SSLense manages IIS bindings for real host names, such as www.example.com.

Select or enter at least one host name.

SSL6014: Names missing for a certificate with no IIS site

Section titled “SSL6014: Names missing for a certificate with no IIS site”

Give the names the certificate covers, such as rdp.example.com.

SSL6015: Certificate with no IIS site needs DNS validation

Section titled “SSL6015: Certificate with no IIS site needs DNS validation”

HTTP validation needs a site to serve the file, unless SSLense answers the challenge itself. Choose a DNS validation method, or HTTP answered by SSLense.

Use letters, digits, spaces, dots, hyphens, underscores and brackets, up to 100 characters.

SSL6018: Certificate names need DNS validation

Section titled “SSL6018: Certificate names need DNS validation”

Wildcards and extra names need DNS validation. With HTTP validation the certificate covers the host names.

Check each name; a wildcard covers one level, as in *.example.com, and a name already covered by a wildcard in the same certificate is not needed.

Use one of the key types listed in the message.

The saved account key cannot be read. Restore SSLense's data folder from a backup, or remove the account file so SSLense creates a new account (existing certificates keep working).

One of SSLense's data files is empty or not valid JSON. SSLense keeps a backup next to it (.bak); restore it, or restore the data folder from a backup.

The data folder was written by a newer SSLense version. Install that version or newer again.

SSLense's secrets are encrypted for this server. A data folder copied from another server needs its passwords, tokens and keys entered again.

Run SSLense as Administrator. If it persists, check config.json in the data folder.

SSLense's data folder should be limited to Administrators and SYSTEM. Run SSLense as Administrator once to restore them, or reinstall.

SSL6027: IP address certificates need HTTP answered by SSLense

Section titled “SSL6027: IP address certificates need HTTP answered by SSLense”

A certificate authority validates an IP address over HTTP (or TLS-ALPN), not DNS. Choose HTTP validation with SSLense answering the challenge itself (--validation http-self); Let's Encrypt also needs a short-lived profile, such as --profile shortlived.

A certificate on another machine needs a name that no other certificate or IIS site has.

Each row needs a site and an email (or the default ACME email in Settings), and a validation of http, http-self or dns. A header row may name the columns: site, hosts, validation, names, email, ca, profile, key.

The file must be one SSLense wrote with 'config export', from this version or an older one. Export it again on the source server.

SSL6031: Settings file password missing or wrong

Section titled “SSL6031: Settings file password missing or wrong”

Secrets in an exported settings file are encrypted with a password. Set the environment variable SSLENSE_CONFIG_PASSWORD to the password used at export, in the same terminal, and try again.

Importing would leave a certificate without the certificate authority that renews it. Add that authority to the source server and export again, or stop managing the certificate first.

SSL6033: Web farm folder not usable (retired)

Section titled “SSL6033: Web farm folder not usable (retired)”

Not used by any released version: web farm folders were removed before 0.24.0. In a web farm, use DNS validation, which works whichever server the certificate authority reaches.

SSL6034: Fleet folder not usable (retired)

Section titled “SSL6034: Fleet folder not usable (retired)”

Not used by any released version: fleet reports were removed before 0.24.0. Use 'SSLense.Cli status --json' on each server instead.

The certificate's IP address is not on any of this server's network adapters, and the server has several addresses of that kind, so SSLense cannot tell which one receives its traffic. Behind NAT (a cloud server, or a router forwarding ports 80 and 443), a server with one address of that kind is bound automatically. Add the public address to an adapter, or leave the server one address of that kind.

SSL6036: Command options not valid together

Section titled “SSL6036: Command options not valid together”

The options given cannot be used together, or one that is needed is missing. The message says which to give or leave out; add --help to the command to list its options.

The command changes something that cannot be undone, so it runs only with --yes. Read what the message says it will change, then run it again with --yes.

The chat service refused the message. Check the webhook URL still exists, and send a test.

Enter the username for password sign-in, or choose no sign-in for a relay.

Enter the password in the email settings.

The message gives the mail server's answer. Check the server, port, security and sign-in, then send a test.

Add an email or chat channel, or turn the Event Log back on, under Settings › Notifications.

Check the heartbeat check still exists at the monitoring service.

Enter the channel's URL or password again under Settings › Notifications.

Check the URL, port, recipients and sign-in; the message says which one.

Add an email or chat channel, or make sure the Windows Event Log is monitored.

SSL7010: Azure Key Vault import failed (retired)

Section titled “SSL7010: Azure Key Vault import failed (retired)”

Not used by any released version: the Azure Key Vault step was removed before 0.24.0. A script step can import the certificate with Azure PowerShell.

SSL7011: Azure App Service not updated (retired)

Section titled “SSL7011: Azure App Service not updated (retired)”

Not used by any released version: the Azure App Service step was removed before 0.24.0. A script step can upload the certificate with Azure PowerShell.

The key is neither RSA nor ECDSA. Issue the certificate again with a supported key type.

Renew or install the certificate again.

Install the certificate again with its private key.

Run SSLense as Administrator, and check the destination folder.

Issue the certificate again with an exportable key to write it to files.

Remove a step first.

SSL8007: Certificate removed at the same time

Section titled “SSL8007: Certificate removed at the same time”

Another SSLense window or command removed the certificate. Refresh the list.

Add a step under After install on the certificate, or with 'deploy add'.

The step was added by a newer SSLense version. Update SSLense, or remove the step.

Use the app or the CLI on the server.

Use the app or the CLI on the server.

Remove the step and add it again.

The password was saved on another server or by another account. Remove the step and add it again.

Remove the step and add it again.

The script ended with an error; its last output is in the message. Run it by hand to see why.

The key is not in a file SSLense can change access to. Install the certificate again, or give access in certlm.msc.

SSLense will not change access through a link. Check the machine key folder.

Install the certificate again with its private key.

Give access in certlm.msc › Manage Private Keys instead.

The message gives Windows' reason. Stop it by hand and check the Windows Event Log.

The message gives Windows' reason. Start it by hand and check the Windows Event Log.

SSL8022: Service stopped again after starting

Section titled “SSL8022: Service stopped again after starting”

Check the Windows Event Log for the reason; the service may not accept the new certificate.

Check the service in services.msc and the Windows Event Log.

SSL8024: Deployment step details not valid

Section titled “SSL8024: Deployment step details not valid”

Check the step's path, password and timeout; the message says which one.

Use the service's name as 'sc.exe query' or the Services console shows it, such as MSSQLSERVER or TermService.

Choose another service.

Check the step numbers under After install on the certificate, or with 'deploy list'.

Check the name, such as 'IIS AppPool\Shop' or 'NT SERVICE\MSSQLSERVER'.

SSL8029: Certificate with no IIS site has no deployment steps

Section titled “SSL8029: Certificate with no IIS site has no deployment steps”

Add a step under After install so a renewal reaches the service that uses the certificate.

SSL8030: Deployment steps have not succeeded

Section titled “SSL8030: Deployment steps have not succeeded”

The message gives the last error; SSLense retries hourly and keeps the previous certificate meanwhile. Fix the cause, or run the steps again.

SSL9xxx: Health check, diagnostics and unexpected errors

Section titled “SSL9xxx: Health check, diagnostics and unexpected errors”

Use the app or the CLI on the server.

Run SSLense as Administrator.

SSLense writes the log once it does something. Try again after an operation.

Choose a file from SSLense's log folder.

Another SSLense process is writing to the log. Try again in a moment.

Start SSLense with 'Run as administrator'.

Download it from the release page in the message and run its installer; it upgrades in place and keeps your settings. SSLense never installs anything by itself. Turn the notice off under Settings › General.

SSLense did not expect this error. The original message follows the code. Run the health check, and report it with a diagnostic bundle ('SSLense.Cli diagnostics') if it happens again.