Add new TSA configuration environment variables
All checks were successful
Build image and push it to registry / build (push) Successful in 1m1s
All checks were successful
Build image and push it to registry / build (push) Successful in 1m1s
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.
This commit is contained in:
@@ -5,3 +5,6 @@ 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
|
Reference in New Issue
Block a user