Skip to content
Snippets Groups Projects
Verified Commit c46f2f18 authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Ensure SSL_CERT/KEY_DATA can be written

parent fb71c6d0
No related branches found
No related tags found
No related merge requests found
...@@ -92,8 +92,8 @@ fi ...@@ -92,8 +92,8 @@ fi
# Specify the path to the SSL certificate. # Specify the path to the SSL certificate.
# format: base64 data # format: base64 data
if [[ ! -z "${SSL_CERT_DATA}" ]]; then if [[ ! -z "${SSL_CERT_DATA}" ]]; then
echo "${SSL_CERT_DATA}" | base64 -d > /tls.crt echo "${SSL_CERT_DATA}" | base64 -d > /config/_generated_tls.crt
export SSL_CERT_FILE=/tls.crt export SSL_CERT_FILE=/config/_generated_tls.crt
fi fi
# Specify the path to the SSL certificate. # Specify the path to the SSL certificate.
...@@ -107,8 +107,8 @@ fi ...@@ -107,8 +107,8 @@ fi
# Specify the path to the SSL certificate. # Specify the path to the SSL certificate.
# format: base64 data # format: base64 data
if [[ ! -z "${SSL_KEY_DATA}" ]]; then if [[ ! -z "${SSL_KEY_DATA}" ]]; then
echo "${SSL_KEY_DATA}" | base64 -d > /tls.key echo "${SSL_KEY_DATA}" | base64 -d > /config/_generated_tls.key
export SSL_KEY_FILE=/tls.key export SSL_KEY_FILE=/config/_generated_tls.key
fi fi
# Specify the path to the SSL key. # Specify the path to the SSL key.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment