challenge: include self signed certificate for https IP connection

This commit is contained in:
nemunaire 2020-02-21 18:11:13 +01:00
parent 7e6980f952
commit 5e51734fa1

View File

@ -63,4 +63,8 @@ RUN gcc -o /out/usr/bin/init-crypto /root/kp.c
FROM scratch
COPY --from=mirror /out/ /
COPY ssl/ec_cert.pem /usr/share/ca-certificates/nemunai.re/cert.pem
RUN echo "nemunai.re/cert.pem" >> /etc/ca-certificates.conf && update-ca-certificates
COPY lib/ /lib/