I want to send parameters through the client http interface to change PDFSigner worker properties such as reason, locale, signature customizations, etc.
Then I added this property in my PDFSigner worker configuration file: WORKERGENID1.ALLOW_PROPERTY_OVERRIDE = REASON,LOCATION,ADD_VISIBLE_SIGNATURE
To enable the replacement of the REASON, LOCATION, ADD_VISIBLE_SIGNATURE properties through the client HTTP interface, as seen in the image. Then I made the request to the /signserver/process endpoint using the REQUEST_METADATA.x parameter sending, as shown in the image request signserver_process, however, it did not work, it is as if I did not take into account these parameters with REQUEST_METADATA.
I'm using version 5.2.0 of signserver community.
I want to send parameters through the client http interface to change PDFSigner worker properties such as reason, locale, signature customizations, etc.
In the documentation of the PDFSigner worker (
https://doc.primekey.com/signserver/signserver-reference/signserver-workers/signserver-signers/pdf-signer#PDFSigner-WorkerProperties
) it says that if you want to send it as REQUEST_METADATA, you must set in the worker the property ALLOW_PROPERTY_OVERRIDE indicating the name of the properties that can be replaced (REASON,LOCATION,SIGNERCERTCHAIN,DIGESTALGORITHM,VISIBLE_SIGNATURE_PAGE, etc). https://doc.primekey.com/signserver/signserver-reference/signserver-workers/signserver-signers/pdf-signer#PDFSigner-RequestMetadataProperties
Then I added this property in my PDFSigner worker configuration file: WORKERGENID1.ALLOW_PROPERTY_OVERRIDE = REASON,LOCATION,ADD_VISIBLE_SIGNATURE
To enable the replacement of the REASON, LOCATION, ADD_VISIBLE_SIGNATURE properties through the client HTTP interface, as seen in the image. Then I made the request to the /signserver/process endpoint using the REQUEST_METADATA.x parameter sending, as shown in the image request signserver_process, however, it did not work, it is as if I did not take into account these parameters with REQUEST_METADATA.
Last edit: andres salgado rojas 2021-09-27
Hi andres,
The documentation you are referring to is for the latest version of SignServer (as of now 5.8.1).
There is not yet a Community version available that has this feature which was added in I believe version 5.7 or around that.
You can choose which version you browse the documentation for using the "SignServer Versions" link on top of the page. For 5.2.0.Final which is the latest Community version it is this:
https://doc.primekey.com/signserver520/signserver-reference/signserver-workers/signserver-signers/pdf-signer
Cheers,
Markus