HTTP validation
With HTTP validation, the certificate authority fetches a small file from each host name at http://<host>/.well-known/acme-challenge/<token>. SSLense creates the file, checks it can fetch it itself, asks the certificate authority to validate, and removes the file afterwards.
It needs: a public DNS record for each host name pointing to the server, and port 80 open from the internet. It cannot issue wildcard certificates; for those, use DNS validation.
With the site's HTTP binding
Section titled “With the site's HTTP binding”The usual case: the site has an HTTP binding on port 80 for each host name. SSLense writes the file into the site's folder, with a web.config that serves it as plain text.
In the app, choose Validation › HTTP (port 80) in Add certificate › Free and automatic, tick the Host names, and choose Continue; then Run checks and Issue certificate, as in the quick start. Each host name shows whether it is ready: HTTP :80 ready means the site has the port 80 binding it needs, and Missing HTTP :80 binding means it does not.

From the command line, HTTP is the default:
SSLense.Cli preflight --site "Shop" --hosts shop.example.com,www.shop.example.comSSLense.Cli issue --site "Shop" --hosts shop.example.com,www.shop.example.com --email ops@example.com --stagingpreflight runs the same checks as the app's Run checks, and changes nothing.
Without a port 80 binding: SSLense answers
Section titled “Without a port 80 binding: SSLense answers”A site with only HTTPS bindings, or whose port 80 binding belongs to another site, can still use HTTP validation: SSLense answers the request itself. In the app, also tick SSLense answers the challenge itself, so the site needs no HTTP binding on port 80. From the command line, use --validation http-self:
SSLense.Cli issue --site "Shop" --hosts shop.example.com --email ops@example.com --validation http-self --staging- SSLense answers
/.well-known/acme-challenge/on port 80 through HTTP.sys, beside IIS, and only while a certificate is being validated. IIS keeps serving everything else. - The host still needs an IIS binding, HTTP or HTTPS, and port 80 must still be reachable from the internet.
- Renewals keep the choice.
- Another program holding port 80 outside HTTP.sys, such as Apache or nginx, prevents it (SSL1028).
Things that stop HTTP validation
Section titled “Things that stop HTTP validation”SSLense checks these before ordering anything, so a mistake does not use up the certificate authority's limit on failed validations:
| Problem | Error | What to do |
|---|---|---|
| No HTTP binding on port 80 for the host | SSL1003 | Add the binding, or use SSLense answers the challenge itself |
| The site is stopped | SSL1033 | Start the site: IIS gives a stopped site's requests to another site |
| The file cannot be fetched from this server | SSL1017 | The message says what came back: a 404 means the request reached another site, a 401 or 403 a permission or authentication setting, a 5xx an error in the site |
| A redirect sends validation requests elsewhere | SSL1031 | SSLense's own HTTP-to-HTTPS redirect never does; check other URL Rewrite rules |
| A CAA record does not allow the certificate authority | the certificate authority's own error, when it validates (only DNS validation checks CAA beforehand) | Add the certificate authority to the domain's CAA records, for example 0 issue "letsencrypt.org" |
Every code is explained in the error codes.
Behind a load balancer, CDN or NAT
Section titled “Behind a load balancer, CDN or NAT”- NAT or a cloud server: the server's public address is not on its network adapter. SSLense handles that: bindings use the server's own address.
- A load balancer: it must pass port 80 requests for
/.well-known/acme-challenge/to this server. - A CDN: if it caches or answers port 80 itself, use DNS validation instead.