mirror of
https://github.com/documenso/documenso.git
synced 2026-07-25 17:35:05 +10:00
docs: ensure cert directory exists before generating PKCS12 (#2354)
This commit is contained in:
@@ -148,6 +148,7 @@ This method avoids file permission issues by creating the certificate directly i
|
|||||||
|
|
||||||
# Generate certificate inside container using environment variable
|
# Generate certificate inside container using environment variable
|
||||||
docker exec -e CERT_PASS="$CERT_PASS" -it documenso-production-documenso-1 bash -c "
|
docker exec -e CERT_PASS="$CERT_PASS" -it documenso-production-documenso-1 bash -c "
|
||||||
|
mkdir -p /app/certs && \
|
||||||
openssl req -x509 -nodes -days 365 -newkey rsa:2048 \
|
openssl req -x509 -nodes -days 365 -newkey rsa:2048 \
|
||||||
-keyout /tmp/private.key \
|
-keyout /tmp/private.key \
|
||||||
-out /tmp/certificate.crt \
|
-out /tmp/certificate.crt \
|
||||||
|
|||||||
Reference in New Issue
Block a user