This repository has been archived by the owner on Dec 8, 2023. It is now read-only.
update-ca-certificates removes content of ca-certificates.crt #518
Labels
kind/bug
Something isn't working
Version (k3OS / kernel)
v0.10.2
5.0.0-43-generic #47~18.04.1 SMP Wed Apr 1 16:27:01 UTC 2020
Architecture
x86_64
Describe the bug
When executing update-ca-certificates the ca-certificates.crt in /etc/ssl/certs is override by the last found crt file in /usr/local/share/ca-certificates. If this directory does not exist the ca-certificates.crt is empty (cleared) after executing the update-ca-certificates command.
To Reproduce
sudo update-ca-certificates
Expected behavior
ca-certificates.crt file.
Actual behavior
The ca-certificates.crt is empty after executing the command (see description above)
Additional context
Actually I made a workaround:
mkdir -p /etc/ca-certificates/update.d/
sudo update-ca-certificates
The text was updated successfully, but these errors were encountered: