Tools / security.txt / Generator
Write your security.txt
Fill in the contact and the date; the rest is optional and explained as you go. Nothing you type leaves your browser. When it is live, check it.
Your security.txt
# security.txt for your domain — see https://securitytxt.org and RFC 9116 # Generated with https://www.cyber-defence.io/tools/security-txt/generate Expires: 2027-09-24T00:00:00.000Z Preferred-Languages: en
- At least one Contact is required.
Then
- Put the file at
/.well-known/security.txton your domain, served over HTTPS astext/plain; charset=utf-8. On Apache: place it in.well-known/under the document root, orAlias /.well-known/security.txt /var/www/security.txt; on nginx:location = /.well-known/security.txt { default_type text/plain; alias /var/www/security.txt; }. - Optionally sign it:
gpg --clearsign security.txtand publish the.ascoutput as the file itself, with the public key at the Encryption: URL. - Make sure the contact mailbox is read by more than one person, and diarise the Expires date.
- Check it with the security.txt checker once it is live.