Before encryption the certificates are checked for validity. In case that a certificate has a broken URL as crlDP or the content of the crlDP is invalid gpgsm should provide more details when returning with failure.
Test certificates are provided by: