Skip to content

Commit c9c70d6

Browse files
committed
Arch Linux Certificates Customization
1 parent 77ee45e commit c9c70d6

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

certificates/Makefile

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -66,16 +66,10 @@ install-root-certificate: rootca.crt ## installs a certificate in the host syste
6666
echo "Is the DOCKER service ready? press when ready" && read -n 1; \
6767
fi;\
6868
echo "======================================";,\
69-
$(if $(IS_OSX), \
70-
sudo security add-trusted-cert -d -k /Library/Keychains/System.keychain $<; \
71-
echo "Please restart the DOCKER service now..." && read -n 1; \
72-
echo "Is the DOCKER service ready? press when ready" && read -n 1; \
73-
, \
74-
sudo cp $< /usr/local/share/ca-certificates/osparc.crt; \
75-
sudo update-ca-certificates -f; \
76-
echo "# restarting docker daemon"; \
69+
sudo cp $< /etc/ca-certificates/trust-source/anchors/osparc.crt; \
70+
sudo trust extract-compat && \
71+
echo "# restarting docker daemon" && \
7772
sudo systemctl restart docker \
78-
) \
7973
)
8074

8175

0 commit comments

Comments
 (0)