HTTPS encrypts traffic between browser and server, so nobody in between can read or change it. Let's Encrypt gives free certificates; Caddy and many hosts set them up automatically.
# Check a site's certificate and expiry date echo | openssl s_client -connect example.com:443 -servername example.com 2>/dev/null \ | openssl x509 -noout -subject -dates