Skip to content

Commit 0839ee2

Browse files
authored
initramfs: Copy a certificate bundle so curl can do https (#189)
The path is the one used on Debian and Ubuntu, which should match where initramfs-tools is used.
1 parent 29d0a4e commit 0839ee2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/initramfs-tools/hooks/clevis.in

+2
Original file line numberDiff line numberDiff line change
@@ -103,3 +103,5 @@ done
103103
for so in $(ldconfig -p | sed -nr 's/^\s*libnss_dns\.so\.[0-9]+\s.*=>\s*//p'); do
104104
copy_exec "${so}"
105105
done
106+
107+
copy_file data @sysconfdir@/ssl/certs/ca-certificates.crt || die 2 "Unable to copy certificate bundle to initrd image"

0 commit comments

Comments
 (0)