Skip to content

Commit be2b554

Browse files
committed
root ca bug update-ca-certificates
Signed-off-by: Marc Ahlgrim <[email protected]>
1 parent bf99570 commit be2b554

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

exc-docker/init-script.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ cp /etc/certificates/${DOMAIN}/rootCA.crt /etc/ssl/certs
3131
ln -s /etc/ssl/certs/rootCA.crt /etc/ssl/certs/`openssl x509 -hash -noout -in rootCA.crt`.0
3232
# this will update the /etc/ssl/certs/ca-certificates.crt
3333
update-ca-certificates
34+
# actually after more testing it turned out that we will still need to append the
35+
# root CA to the file:
36+
cat /etc/ssl/certs >>/etc/ssl/certs/ca-certificates.crt
3437

3538
# now we can install portainer
3639
docker pull portainer/portainer-ce:latest

0 commit comments

Comments
 (0)