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”SSL1001: IIS site not found
Section titled “SSL1001: IIS site not found”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.
SSL1002: IIS site has no physical path
Section titled “SSL1002: IIS site has no physical path”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.
SSL1006: netsh could not be started
Section titled “SSL1006: netsh could not be started”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.
SSL1010: Binding uses another certificate
Section titled “SSL1010: Binding uses another certificate”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.
SSL1012: Bindings could not be removed
Section titled “SSL1012: Bindings could not be removed”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.
SSL1015: No certificate was served
Section titled “SSL1015: No certificate was served”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.
SSL1016: Site not reachable on port 80
Section titled “SSL1016: Site not reachable on port 80”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.
SSL1017: Challenge file not served
Section titled “SSL1017: Challenge file not served”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.
SSL1021: netsh did not finish in time
Section titled “SSL1021: netsh did not finish in time”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.
SSL1023: HTTPS binding missing
Section titled “SSL1023: HTTPS binding missing”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.
SSL1024: Site serves another certificate
Section titled “SSL1024: Site serves another certificate”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.
SSL1025: Host did not answer on port 443
Section titled “SSL1025: Host did not answer on port 443”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.
SSL1026: Challenge folder not writable
Section titled “SSL1026: Challenge folder not writable”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.
SSL1028: SSLense cannot answer on port 80
Section titled “SSL1028: SSLense cannot answer on port 80”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.
SSL1029: IIS URL Rewrite is not installed
Section titled “SSL1029: IIS URL Rewrite is not installed”The HTTPS redirect is an IIS URL Rewrite rule. Install the URL Rewrite module for IIS from Microsoft, then try again.
SSL1030: Site has no HTTPS binding
Section titled “SSL1030: Site has no HTTPS binding”Redirecting HTTP to HTTPS would send visitors nowhere. Give the site a certificate first.
SSL1031: Redirect would block validation
Section titled “SSL1031: Redirect would block validation”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.
SSL1033: IIS site is stopped
Section titled “SSL1033: IIS site is stopped”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).
SSL2xxx: ACME and certificate authorities
Section titled “SSL2xxx: ACME and certificate authorities”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.
SSL2005: Profile not offered
Section titled “SSL2005: Profile not offered”Choose one of the profiles the certificate authority lists, or leave the profile empty.
SSL2006: HTTP validation not offered
Section titled “SSL2006: HTTP validation not offered”The certificate authority does not allow HTTP validation for this name, for example for a wildcard. Use DNS validation.
SSL2007: DNS validation not offered
Section titled “SSL2007: DNS validation not offered”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.
SSL2009: Validation failed
Section titled “SSL2009: Validation failed”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.
SSL2010: Certificate not issued
Section titled “SSL2010: Certificate not issued”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.
SSL2012: ACME directory not reachable
Section titled “SSL2012: ACME directory not reachable”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.
SSL2014: Not an ACME directory
Section titled “SSL2014: Not an ACME directory”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.
SSL2018: Built-in certificate authority
Section titled “SSL2018: Built-in certificate authority”Let's Encrypt is built in and cannot be removed.
SSL2019: Certificate authority in use
Section titled “SSL2019: Certificate authority in use”Move the listed certificates to another certificate authority first, or remove them.
SSL2020: Certificate authority busy
Section titled “SSL2020: Certificate authority busy”Another SSLense operation is using or changing this certificate authority. Try again in a few minutes.
SSL2021: Key cannot be reused
Section titled “SSL2021: Key cannot be reused”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.
SSL2024: No host names
Section titled “SSL2024: No host names”Select at least one host name, or add a named binding to the site in IIS Manager.
SSL2025: Rate limit reached
Section titled “SSL2025: Rate limit reached”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.
SSL2026: Validation took too long
Section titled “SSL2026: Validation took too long”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.
SSL2029: EAB HMAC key not valid
Section titled “SSL2029: EAB HMAC key not valid”Copy the HMAC key again from the certificate authority's account page; it is Base64url text.
SSL2030: Revocation failed
Section titled “SSL2030: Revocation failed”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
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.
SSL3xxx: DNS validation
Section titled “SSL3xxx: DNS validation”SSL3001: DNS validation not available
Section titled “SSL3001: DNS validation not available”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.
SSL3003: No public name servers
Section titled “SSL3003: No public name servers”A public certificate authority can only validate names in public DNS. Check the domain is registered and delegated, or use an internal certificate authority.
SSL3004: DNS record not visible yet
Section titled “SSL3004: DNS record not visible yet”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.
SSL3005: Manual DNS records not confirmed
Section titled “SSL3005: Manual DNS records not confirmed”Nothing was ordered. Create the TXT records shown and confirm, or cancel.
SSL3006: acme-dns CNAME missing
Section titled “SSL3006: acme-dns CNAME missing”Create the CNAME record shown at your DNS host, wait for it to appear, then try again.
SSL3007: No DNS provider for the name
Section titled “SSL3007: No DNS provider for the name”Add a DNS provider for the zone under Settings › DNS providers, delegate the record with a CNAME, or use manual DNS.
SSL3008: DNS provider type not supported
Section titled “SSL3008: DNS provider type not supported”The provider was added by a newer SSLense version. Update SSLense, or remove the provider and add it again.
SSL3009: Too many CNAME steps
Section titled “SSL3009: Too many CNAME steps”Check the CNAME records for the name at your DNS host: they form a loop or a chain longer than SSLense follows.
SSL3010: DNS provider name already used
Section titled “SSL3010: DNS provider name already used”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.
SSL3013: acme-dns not available here
Section titled “SSL3013: acme-dns not available here”Use the app or the CLI on the server to set up acme-dns.
SSL3014: acme-dns account already used
Section titled “SSL3014: acme-dns account already used”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.
SSL3016: Script test record not seen
Section titled “SSL3016: Script test record not seen”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.
SSL3017: acme-dns account busy
Section titled “SSL3017: acme-dns account busy”A certificate is being validated through this account right now. Test again in a few minutes.
SSL3018: This server cannot query DNS
Section titled “SSL3018: This server cannot query DNS”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.
SSL3020: Script replaced at the same time
Section titled “SSL3020: Script replaced at the same time”Another update replaced the script while this one was checked. Check the script, then update it again if needed.
SSL3021: DNS provider in use
Section titled “SSL3021: DNS provider in use”Move the listed certificates to another validation method first, or remove them.
SSL3022: DNS provider not found
Section titled “SSL3022: DNS provider not found”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.
SSL3024: Script folder is a link
Section titled “SSL3024: Script folder is a link”SSLense will not use a link or junction for scripts. Remove it and let SSLense create the folder again.
SSL3025: Script not run
Section titled “SSL3025: Script not run”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.
SSL3026: DNS provider has no script
Section titled “SSL3026: DNS provider has no script”Remove the provider and add it again with its script.
SSL3027: DNS script failed
Section titled “SSL3027: DNS script failed”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.
SSL3029: Cloudflare zone not found
Section titled “SSL3029: Cloudflare zone not found”Check that the token can read the zone, and that the zone name matches the domain on Cloudflare.
SSL3030: Cloudflare refused the request
Section titled “SSL3030: Cloudflare refused the request”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.
SSL3033: acme-dns server not reachable
Section titled “SSL3033: acme-dns server not reachable”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.
SSL3036: DNS provider details not valid
Section titled “SSL3036: DNS provider details not valid”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.
SSL3038: Host name does not resolve
Section titled “SSL3038: Host name does not resolve”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.
SSL4002: No certificate to watch
Section titled “SSL4002: No certificate to watch”The site has no HTTPS binding with a certificate. Add one in IIS Manager, or issue a certificate instead.
SSL4003: Site uses several certificates
Section titled “SSL4003: Site uses several certificates”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.
SSL4005: Certificate has no private key
Section titled “SSL4005: Certificate has no private key”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.
SSL4007: Host names already managed
Section titled “SSL4007: Host names already managed”These host names are managed as another certificate on the site. Select that certificate instead.
SSL4008: No pending certificate request
Section titled “SSL4008: No pending certificate request”Create a request first ('csr', or Add certificate › I bought it and the provider needs a request), or import a PFX.
SSL4009: Request's private key is gone
Section titled “SSL4009: Request's private key is gone”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.
SSL4011: Request key type not supported
Section titled “SSL4011: Request key type not supported”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.
SSL4014: Certificate renews automatically
Section titled “SSL4014: Certificate renews automatically”Importing replaces a certificate SSLense renews automatically, and stops that. Confirm with --replace-automatic if that is what you want.
SSL4015: Certificate already installed
Section titled “SSL4015: Certificate already installed”This certificate is already installed and bound. Nothing needs to change.
SSL4016: Certificate not installed
Section titled “SSL4016: Certificate not installed”The certificate failed a check before anything changed. The message lists the problems: names, dates, purpose, key or chain.
SSL4017: Site shares its certificate
Section titled “SSL4017: Site shares its certificate”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.
SSL4020: PFX could not be imported
Section titled “SSL4020: PFX could not be imported”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.
SSL4024: Shared certificate not valid now
Section titled “SSL4024: Shared certificate not valid now”Renew the certificate first, then share it.
SSL4025: Certificate not shared
Section titled “SSL4025: Certificate not shared”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.
SSL4028: Sharing needs DNS validation
Section titled “SSL4028: Sharing needs DNS validation”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'.
SSL4031: Site has its own certificate
Section titled “SSL4031: Site has its own certificate”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.
SSL4034: Host name bound on another site
Section titled “SSL4034: Host name bound on another site”The host name already has an HTTPS binding on another IIS site. Remove that binding first.
SSL4035: A sharing site has a problem
Section titled “SSL4035: A sharing site has a problem”The message names the site and its problem. Fix it, or stop sharing with that site.
SSL4036: No site can use the certificate
Section titled “SSL4036: No site can use the certificate”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.
SSL4040: Site shares its certificate
Section titled “SSL4040: Site shares its certificate”A certificate you import or request cannot replace one shared with other sites. Stop sharing first.
SSL4041: Not a certificate file
Section titled “SSL4041: Not a certificate file”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.
SSL4044: A sharing site no longer exists
Section titled “SSL4044: A sharing site no longer exists”Stop sharing with it: 'SSLense.Cli share remove --site
SSL4045: Certificate chain incomplete
Section titled “SSL4045: Certificate chain incomplete”An intermediate certificate is missing or expired, so some visitors may not trust the site. Install the certificate again with its full chain.
SSL4046: Old pending requests
Section titled “SSL4046: Old pending requests”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
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.
SSL4054: Certificate not removed
Section titled “SSL4054: Certificate not removed”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.
SSL4055: Cannot roll back
Section titled “SSL4055: Cannot roll back”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.
SSL4056: FTP site not usable
Section titled “SSL4056: FTP site not usable”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.
SSL4057: HTTP.sys binding not changed
Section titled “SSL4057: HTTP.sys binding not changed”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.
SSL4058: Service not found on this server
Section titled “SSL4058: Service not found on this server”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”SSL5001: Operation record missing
Section titled “SSL5001: Operation record missing”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.
SSL5004: Service not installed
Section titled “SSL5004: Service not installed”Install SSLense with its installer, which adds the service.
SSL5005: Service command failed
Section titled “SSL5005: Service command failed”Run SSLense as Administrator.
SSL5006: Service control could not start
Section titled “SSL5006: Service control could not start”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.
SSL5008: Setting out of range
Section titled “SSL5008: Setting out of range”Enter a value in the range the message gives.
SSL5009: Choose all or one certificate
Section titled “SSL5009: Choose all or one certificate”Give either --all or --site, not both or neither.
SSL5010: Service program not found
Section titled “SSL5010: Service program not found”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.
SSL5012: Interrupted operations
Section titled “SSL5012: Interrupted operations”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.
SSL5013: Service stopped
Section titled “SSL5013: Service stopped”Start the SSLense service under Settings › Service, or in services.msc.
SSL5014: Service in an unusual state
Section titled “SSL5014: Service in an unusual state”Check the service in services.msc and the Windows Event Log.
SSL5015: No renewal check recorded yet
Section titled “SSL5015: No renewal check recorded yet”The service records one an hour after it starts. Check that it is running.
SSL5016: Renewal check overdue
Section titled “SSL5016: Renewal check overdue”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.
SSL5018: Bought certificate expires soon
Section titled “SSL5018: Bought certificate expires soon”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.
SSL5021: Renewals failing
Section titled “SSL5021: Renewals failing”The message gives the last error. Fix it; SSLense retries on its schedule.
SSL5022: Maintenance window not valid
Section titled “SSL5022: Maintenance window not valid”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.
SSL6xxx: Settings, names and stored data
Section titled “SSL6xxx: Settings, names and stored data”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.
SSL6002: Certificate name already used
Section titled “SSL6002: Certificate name already used”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.
SSL6004: Name is an IIS site
Section titled “SSL6004: Name is an IIS site”A certificate with no IIS site needs a name that is not a site's. Choose another name.
SSL6005: Certificate already exists
Section titled “SSL6005: Certificate already exists”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.
SSL6007: Name contains '/'
Section titled “SSL6007: Name contains '/'”A '/' names a second certificate on an IIS site. Choose a name without it.
SSL6008: Data folder is a link
Section titled “SSL6008: Data folder is a link”SSLense will not use a link or junction for its data folder. Replace it with a real folder.
SSL6009: Access to SSLense's data denied
Section titled “SSL6009: Access to SSLense's data denied”Run SSLense as Administrator.
SSL6010: Not managed by SSLense
Section titled “SSL6010: Not managed by SSLense”Check the name in the certificate list.
SSL6011: Email address not valid
Section titled “SSL6011: Email address not valid”Enter a full email address, such as admin@example.com.
SSL6012: Host name not valid
Section titled “SSL6012: Host name not valid”SSLense manages IIS bindings for real host names, such as www.example.com.
SSL6013: No host names given
Section titled “SSL6013: No host names given”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.
SSL6016: Name not allowed
Section titled “SSL6016: Name not allowed”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.
SSL6019: Certificate names not valid
Section titled “SSL6019: Certificate names not valid”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.
SSL6020: Unknown key type
Section titled “SSL6020: Unknown key type”Use one of the key types listed in the message.
SSL6021: ACME account key damaged
Section titled “SSL6021: ACME account key damaged”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).
SSL6022: Data file damaged
Section titled “SSL6022: Data file damaged”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.
SSL6023: Data from a newer SSLense
Section titled “SSL6023: Data from a newer SSLense”The data folder was written by a newer SSLense version. Install that version or newer again.
SSL6024: Secret cannot be read
Section titled “SSL6024: Secret cannot be read”SSLense's secrets are encrypted for this server. A data folder copied from another server needs its passwords, tokens and keys entered again.
SSL6025: Configuration could not be read
Section titled “SSL6025: Configuration could not be read”Run SSLense as Administrator. If it persists, check config.json in the data folder.
SSL6026: Data folder permissions not safe
Section titled “SSL6026: Data folder permissions not safe”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.
SSL6028: Name already used
Section titled “SSL6028: Name already used”A certificate on another machine needs a name that no other certificate or IIS site has.
SSL6029: Bulk file not valid
Section titled “SSL6029: Bulk file not valid”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.
SSL6030: Settings file not valid
Section titled “SSL6030: Settings file not valid”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.
SSL6032: Settings not imported
Section titled “SSL6032: Settings not imported”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.
SSL6035: IP address is not on this server
Section titled “SSL6035: IP address is not on this server”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.
SSL6037: Confirmation required
Section titled “SSL6037: Confirmation required”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.
SSL7xxx: Notifications
Section titled “SSL7xxx: Notifications”SSL7001: Chat message rejected
Section titled “SSL7001: Chat message rejected”The chat service refused the message. Check the webhook URL still exists, and send a test.
SSL7002: SMTP username missing
Section titled “SSL7002: SMTP username missing”Enter the username for password sign-in, or choose no sign-in for a relay.
SSL7003: SMTP password missing
Section titled “SSL7003: SMTP password missing”Enter the password in the email settings.
SSL7004: Email could not be sent
Section titled “SSL7004: Email could not be sent”The message gives the mail server's answer. Check the server, port, security and sign-in, then send a test.
SSL7005: No notification channels
Section titled “SSL7005: No notification channels”Add an email or chat channel, or turn the Event Log back on, under Settings › Notifications.
SSL7006: Heartbeat ping failed
Section titled “SSL7006: Heartbeat ping failed”Check the heartbeat check still exists at the monitoring service.
SSL7007: Notification secret damaged
Section titled “SSL7007: Notification secret damaged”Enter the channel's URL or password again under Settings › Notifications.
SSL7008: Notification settings not valid
Section titled “SSL7008: Notification settings not valid”Check the URL, port, recipients and sign-in; the message says which one.
SSL7009: Only the Event Log is notified
Section titled “SSL7009: Only the Event Log is notified”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.
SSL8xxx: Deployment steps
Section titled “SSL8xxx: Deployment steps”SSL8001: Key type cannot be exported
Section titled “SSL8001: Key type cannot be exported”The key is neither RSA nor ECDSA. Issue the certificate again with a supported key type.
SSL8002: Certificate not in the store
Section titled “SSL8002: Certificate not in the store”Renew or install the certificate again.
SSL8003: No private key to export
Section titled “SSL8003: No private key to export”Install the certificate again with its private key.
SSL8004: Export failed
Section titled “SSL8004: Export failed”Run SSLense as Administrator, and check the destination folder.
SSL8005: Private key not exportable
Section titled “SSL8005: Private key not exportable”Issue the certificate again with an exportable key to write it to files.
SSL8006: Too many deployment steps
Section titled “SSL8006: Too many deployment steps”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.
SSL8008: No deployment steps
Section titled “SSL8008: No deployment steps”Add a step under After install on the certificate, or with 'deploy add'.
SSL8009: Unknown deployment step
Section titled “SSL8009: Unknown deployment step”The step was added by a newer SSLense version. Update SSLense, or remove the step.
SSL8010: Passwords cannot be stored
Section titled “SSL8010: Passwords cannot be stored”Use the app or the CLI on the server.
SSL8011: Export not available here
Section titled “SSL8011: Export not available here”Use the app or the CLI on the server.
SSL8012: Step has no password
Section titled “SSL8012: Step has no password”Remove the step and add it again.
SSL8013: Step password cannot be read
Section titled “SSL8013: Step password cannot be read”The password was saved on another server or by another account. Remove the step and add it again.
SSL8014: Step has no script
Section titled “SSL8014: Step has no script”Remove the step and add it again.
SSL8015: Deployment script failed
Section titled “SSL8015: Deployment script failed”The script ended with an error; its last output is in the message. Run it by hand to see why.
SSL8016: Private key file not found
Section titled “SSL8016: Private key file not found”The key is not in a file SSLense can change access to. Install the certificate again, or give access in certlm.msc.
SSL8017: Private key file is a link
Section titled “SSL8017: Private key file is a link”SSLense will not change access through a link. Check the machine key folder.
SSL8018: Certificate has no private key
Section titled “SSL8018: Certificate has no private key”Install the certificate again with its private key.
SSL8019: Private key location unknown
Section titled “SSL8019: Private key location unknown”Give access in certlm.msc › Manage Private Keys instead.
SSL8020: Service did not stop
Section titled “SSL8020: Service did not stop”The message gives Windows' reason. Stop it by hand and check the Windows Event Log.
SSL8021: Service did not start
Section titled “SSL8021: Service did not start”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.
SSL8023: Service did not respond in time
Section titled “SSL8023: Service did not respond in time”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.
SSL8025: No such Windows service
Section titled “SSL8025: No such Windows service”Use the service's name as 'sc.exe query' or the Services console shows it, such as MSSQLSERVER or TermService.
SSL8026: SSLense cannot restart itself
Section titled “SSL8026: SSLense cannot restart itself”Choose another service.
SSL8027: No such deployment step
Section titled “SSL8027: No such deployment step”Check the step numbers under After install on the certificate, or with 'deploy list'.
SSL8028: Windows account not found
Section titled “SSL8028: Windows account not found”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”SSL9001: Check not available
Section titled “SSL9001: Check not available”Use the app or the CLI on the server.
SSL9002: Log lock not available
Section titled “SSL9002: Log lock not available”Run SSLense as Administrator.
SSL9003: No log file yet
Section titled “SSL9003: No log file yet”SSLense writes the log once it does something. Try again after an operation.
SSL9004: Not an SSLense log file
Section titled “SSL9004: Not an SSLense log file”Choose a file from SSLense's log folder.
SSL9005: Log busy
Section titled “SSL9005: Log busy”Another SSLense process is writing to the log. Try again in a moment.
SSL9006: Not running as Administrator
Section titled “SSL9006: Not running as Administrator”Start SSLense with 'Run as administrator'.
SSL9007: A newer SSLense is available
Section titled “SSL9007: A newer SSLense is available”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.
SSL9999: Unexpected error
Section titled “SSL9999: Unexpected error”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.