Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Commit

Permalink
Creating /tmp/ca-certificates when needed for safari (fixes #498)
Browse files Browse the repository at this point in the history
  • Loading branch information
vania-pooh committed Feb 3, 2022
1 parent f5fec42 commit b9ab8ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions static/safari/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ DISPLAY="$DISPLAY" /usr/bin/xseld &
XSELD_PID=$!

if env | grep -q ROOT_CA_; then
mkdir -p /tmp/ca-certificates
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
Expand Down

0 comments on commit b9ab8ac

Please sign in to comment.