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'

keytool cheatsheet