Open GuasaPlay opened 4 years ago
My guess is that the pkcs#12 is invalid... E.g. the public cert isn't related to the private key.
Where did you get/how did you create the .p12
file?
@NoahCardoza The p12 file is an electronic signature issued by the government of my country.
Interesting... I'm not really an SSL expert seeing as I just started having to work with it this week.
Maybe try openssl pkcs12 -in carmen_raquel_barreto_arias.p12
just to see what's inside.
I am having the same problem. In my case, P12 certificate is working perfectly with the module "node-signpdf" but with that module It is not working to add placeholder.
I'm having the same problem too. in my case p12 certificate file has multi level. I found and fixed it in function getCertificate. the code is.
let validCertificate: forge.pki.Certificate | undefined = getValidatedCertificate(privateKey, publicKey, rawCertificate)
if(validCertificate) {
certificate = validCertificate;
}
Hi everyone. I have an error when signing the pdf, although I put the certificate key correctly, I get the following error:
If anyone knows about it please help me. The code is the same as the example.