Guides · HTTPS and certificate

HTTPS

One of the checks in every audibot report. This page says exactly what audibot reads, what passes, and how to fix it.

What audibot checks

A GET of https://<host>/. If it does not answer — no certificate, connection refused, a timeout — this is the only HTTPS check reported, and the others in the dimension are not run.

Why it matters

Browsers label plain-HTTP pages "Not secure", and anything sent to or from them can be read and changed by the networks in between. Many browser features only work on HTTPS pages.

How do I serve my website over HTTPS?

Get a certificate from a public certificate authority and serve the site on port 443. Let's Encrypt certificates are free and renew automatically; Caddy and most hosts and CDNs obtain them without configuration.

nginx or Apache with Certbot

sudo certbot --nginx -d example.com -d www.example.com
# or
sudo certbot --apache -d example.com -d www.example.com

Caddy (HTTPS is automatic for a named site)

example.com {
	root * /var/www/example
	file_server
}

Check from a terminal

curl -sSI https://example.com/

Related tools

Other checks in HTTPS and certificate

HTTPS and certificate in the methodology ·All guides

This check is one step of the website launch checklist.

Check your site

audibot runs this check and every other one in a single audit, and publishes the report with a recommendation for each finding.