fix: remove timestamp from ca-certificates

This commit is contained in:
Lance R. Vick 2024-05-21 00:24:56 -07:00
parent fb91433cde
commit b34b5f9bab
No known key found for this signature in database
GPG key ID: 8E47A1EC35A1551D
2 changed files with 15 additions and 1 deletions

View file

@ -24,9 +24,10 @@ COPY --from=stagex/openssl . /
COPY --from=stagex/perl . /
RUN tar -xf ca-certificates-${SRC_2_VERSION}.tar.gz
WORKDIR ca-certificates-${SRC_2_VERSION}
ADD *.patch .
RUN --network=none <<-EOF
set -eux
patch -p1 < remove-timestamp.patch
rm -f ./certdata.txt
mv ../certdata.txt ./certdata.txt
make

View file

@ -0,0 +1,13 @@
diff --git a/mk-ca-bundle.pl b/mk-ca-bundle.pl
index 926478f..51db464 100644
--- a/mk-ca-bundle.pl
+++ b/mk-ca-bundle.pl
@@ -407,8 +407,6 @@ print CRT <<EOT;
##
## Bundle of CA Root Certificates
##
-## Certificate data from Mozilla ${datesrc}: ${currentdate} GMT
-##
## This is a bundle of X.509 certificates of public Certificate Authorities
## (CA). These were automatically extracted from Mozilla's root certificates
## file (certdata.txt). This file can be found in the mozilla source tree: