A file that passes

Serve the file at /.well-known/security.txt over https as text/plain with a UTF-8 charset, keep Expires less than a year ahead and review it before that date. List contacts in order of preference; a web contact must use https.

ConfigurationPlain text
Contact: mailto:security@example.com
Contact: https://example.com/security/report
Expires: 2027-06-30T23:59:59Z
Encryption: https://example.com/security/pgp-key.txt
Policy: https://example.com/security/disclosure-policy
Acknowledgments: https://example.com/security/thanks
Preferred-Languages: en, de
Canonical: https://example.com/.well-known/security.txt

To check what is served, fetch it with curl and paste the body here; the headers show the Content-Type. A signed file is checked for its OpenPGP structure only: verify the signature with gpg against a key you already trust.

Shell
curl -sS -D - https://example.com/.well-known/security.txt