I purchase a certificate to sign PDF from a supplier. They delivered 3 files: mycert.cer, ca.cer and root.cer. I need to create a p12 file from it. But i have no success doing this. I tried:
openssl pkcs12 -export -in mycert.cer -nokeys -out finnal.p12 -certfile ca.cer -certfile root.cer
It asks for a export password and it creates the p12 file. Then i tried to use it to sign a PDF using PortableSigner2:
But it gives an error:
Position V:0.0 L:0.0 R:0.0
Error reading certificate (no key)
null
I also tried to use the Portecle to export to p12. Again does not give any error but when i try to use the p12 to sign, it gives errors.
Anyone can help me doing this task? Thank you.