I need to self signed a pdf with x509 certificat file in node JS framework but i don't find any useful package in npm to install it
CodePudding user response:
This similar question How to sign PDF with a x.509 signature/certificate has some answers suggesting to use openssl at the command line. This could be done with a microservice and an exec type command using either node or python for example.
This type of feature is much better done as a microservice, as it allows you to swap out the functionality with another/better service at a later date. As long as you maintain the same API in the microservice, changes will be transparent to your main application