Error when signing e-mails

When signing emails, I get the following error. The certificate exists. Even a completely new certificate leads to this error.
Screenshot_1

Ok, I had to delete the entire account to the associated email. After setting up the email account again, I was able to successfully set up and apply signing.