sign-pdf-worker/local.env.dist
Julien Fastré 77aaf97d7b
All checks were successful
Build image and push it to registry / build (push) Successful in 1m1s
Add new TSA configuration environment variables
Included 'TSA_CONFIG_PATH', 'TSA_CERT_CHAIN', and 'TSA_KEY_PASSWORD' to the environment variable check in worker.py. This ensures the script validates these new required configurations before proceeding. Added an exception raise in the error handling block for better error management.
2024-10-21 18:53:52 +02:00

10 lines
408 B
Plaintext

AMQP_URL=amqp://guest:guest@localhost:32772/%2f/to_python_sign
LOG_LEVEL=DEBUG
PKCS12_PATH=./assets/dummy.p12
TIMESTAMP_URL=http://freetsa.org/tsr
QUEUE_IN=to_python_sign
EXCHANGE_OUT=signed_docs
OUT_ROUTING_KEY=signed_doc
TSA_CONFIG_PATH=/home/julien/dev/chill/sign-pdf-worker/ts-authority/rootca.conf
TSA_CERT_CHAIN=/home/julien/dev/chill/sign-pdf-worker/ts-authority/ca/tsa-chain.pem
TSA_KEY_PASSWORD=5678