Error Signature

Asked

Viewed 78 times

0

good morning, I’m facing a problem signing REINF events. But the mistake I believe is more related to the certificate than to REINF itself.

It turns out that when I use a particular certificate, the signature tag (Signaturevalue) is being computed with 128 bytes, when I actually need it to be computed with 256 bytes, and this gives signature error.

The other certificates we are using are all OK, generating the Signaturevalue with 256 bytes.

See below a debug with the certificate that gives signature errors: inserir a descrição da imagem aqui

And now another certificate that generates the key correctly: inserir a descrição da imagem aqui

My big question is: who determines the size of the signature (128 or 256) is the certificate? I have to talk to the company that sold the certificate to send me another?

I appreciate all your help!

Thank you.

  • Turn the command line inetcpl.cpl, to open the dialogue Properties of the Internet, go on the tab Contents and click the button Certificates, double-click on this problematic certificate, go to the tab Details. What is the certificate signature algorithm?

  • Pedro, thanks for the answer: the algorithm is sha256RSA, the funny thing is that the other certificates I am using and give no problem also have this same algorithm.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.