If there is a TLS error checking the certificate, the error message of gpg does not tell that it is a TLS problem
and it is hard to find out with the usual method of adding (-v).
gpg: error retrieving 'bernhard@intevation.org' via WKD: Wrong name gpg: error reading key: Wrong name
(note the intevation.org which is our second domain)
"Wrong name" could be anything, at first users will believe it has to do with the name of the person they are sending the email to. A hint towards TLS failing would be helpful.
Also the verbose version does not tell:
gpg -vvv --locate-key bernhard@intevation.org gpg: using character set 'iso-8859-1' gpg: using pgp trust model gpg: error retrieving 'bernhard@intevation.org' via Local: No public key gpg: error retrieving 'bernhard@intevation.org' via WKD: Wrong name gpg: error reading key: Wrong name
Problem reproduced with gnupg-2.2.1 (self-build) and gnupg-2.2.4 (Gpg4win 3.0.3).