You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.
if env | grep -q ROOT_CA_; then
for e in $(env | grep ROOT_CA_ | sed -e 's/=.*$//'); do
certname=$(echo -n $e | sed -e 's/ROOT_CA_//')
echo ${!e} | base64 -d >/tmp/ca-certificates/${certname}.crt
done
update-ca-certificates --localcertsdir /tmp/ca-certificates
fi
However, /tmp/ca-certificates does not exist in the image, so the operation fails:
/entrypoint.sh: line 44: /tmp/ca-certificates/CEZ_SYSTEM.crt: No such file or directory
/entrypoint.sh: line 44: /tmp/ca-certificates/CEZ_CA.crt: No such file or directory
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
PORT=5900
It should be fixed by either adding the directory into the image or mkdir this directory in entrypoint.
The text was updated successfully, but these errors were encountered:
In entrypoint.sh, certificates are copied:
if env | grep -q ROOT_CA_; then$(env | grep ROOT_CA_ | sed -e 's/=.*$ //'); do
for e in
certname=$(echo -n $e | sed -e 's/ROOT_CA_//')
echo ${!e} | base64 -d >/tmp/ca-certificates/${certname}.crt
done
update-ca-certificates --localcertsdir /tmp/ca-certificates
fi
However, /tmp/ca-certificates does not exist in the image, so the operation fails:
/entrypoint.sh: line 44: /tmp/ca-certificates/CEZ_SYSTEM.crt: No such file or directory
/entrypoint.sh: line 44: /tmp/ca-certificates/CEZ_CA.crt: No such file or directory
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
PORT=5900
It should be fixed by either adding the directory into the image or mkdir this directory in entrypoint.
The text was updated successfully, but these errors were encountered: