Craftform
signature
Signature(s) of a PDF generated by a craftform.
signature
Signature(s) of a PDF generated by a craftform.
Store/portal signature
A signature can be applied to any finalized document.
You set the signature details in the store conf
pp-ref-common/_sys/store/{STORE_ID}/conf.yaml.
Here is an example for pp-ref-common/_sys/store/energie/conf.yaml:
domains:
  - energie.qdoc.pro
  - energie.qdoc.local
pfx_file: ref/common/_sys/store/energie/certs/francoise-selfsigned.p12
passphrase: "xxxxxxx"
Set the pfx_file to the path of a valid p12 certificate.
Set the passphrase field to the value of the certificate passphrase.
self-signed certificate
You can generate a self-signed certificate with the following command:
keytool -genkeypair \
    -keystore certif.p12 \
    -alias master \
    -storetype pkcs12 \
    -keyalg RSA \
    -keysize 2048 \
    -validity 3650 \
    -storepass 123456 \
    -dname "CN=John DOE,O=acme.com,C=US" \
    -ext 'san=email:contact@acme.com'
reason/location
You can customize the reason and location signature fields:
domains:
  - energie.qdoc.pro
  - energie.qdoc.local
pfx_file: ref/common/_sys/store/energie/certs/francoise-selfsigned.p12
passphrase: "xxxxxxx"
signature_reason: Document from {email}
signature_location: Generated by {store}
Available variables are:
userfor the logged user, example:bob@acme.comstorefor the portal store id, example:energie.qdocdomainfor the domain where the uses logge, example:uat.energie.qdoc.pro