Something like:
pip install badkeys
badkeys -U
badkeys [path_to_your_mail_server_crt_file]
badkeys -a --dkim-dns 20260707._domainkey.google.com
(-a will give you an output whenever it's found any key, otherwise, it'll be silent if it didn't find anything)
I love how the web UI (https://badkeys.info/) will gladly accept a private key :-)
> (While supported, uploading private keys is obviously discouraged for production keys.)
Any particular reason you’ve decided to still let people do that?