Browse Source

ca-cacert-rootcert: Add the letsencrypt certificate here as well

This is not quite "ca-cacert" anymore, more like "ca-sysmocom" for
the root certificates needed for us.

Fixes: SYS#2499
laforge/owhw2
Holger Hans Peter Freyther 6 years ago
parent
commit
a8b9551257
  1. 5
      recipes-extra/ca-certificates/ca-cacert-rootcert.bb
  2. 20
      recipes-extra/ca-certificates/files/DST_Root_CA_X3.pem

5
recipes-extra/ca-certificates/ca-cacert-rootcert.bb

@ -5,18 +5,21 @@ LICENSE = "RDL-COD14"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
PR = "r6"
SRC_URI = "file://root.crt file://class3.crt"
SRC_URI = "file://root.crt file://class3.crt file://DST_Root_CA_X3.pem"
do_install() {
install -d ${D}${libdir}/ssl/certs
install -m 0644 ${WORKDIR}/root.crt ${D}${libdir}/ssl/certs/cacert.org.pem
cat ${WORKDIR}/class3.crt >> ${D}${libdir}/ssl/certs/cacert.org.pem
install -m 0644 ${WORKDIR}/DST_Root_CA_X3.pem ${D}${libdir}/ssl/certs/
# Create hash symlinks
cd ${D}${libdir}/ssl/certs
ln -s cacert.org.pem e5662767.0
ln -s cacert.org.pem 5ed36f99.0
ln -s cacert.org.pem 99d0fa06.0
ln -s DST_Root_CA_X3.pem 2e5ac55d.0
}
FILES_${PN} = "${libdir}/ssl/certs/*"

20
recipes-extra/ca-certificates/files/DST_Root_CA_X3.pem

@ -0,0 +1,20 @@
-----BEGIN CERTIFICATE-----
MIIDSjCCAjKgAwIBAgIQRK+wgNajJ7qJMDmGLvhAazANBgkqhkiG9w0BAQUFADA/
MSQwIgYDVQQKExtEaWdpdGFsIFNpZ25hdHVyZSBUcnVzdCBDby4xFzAVBgNVBAMT
DkRTVCBSb290IENBIFgzMB4XDTAwMDkzMDIxMTIxOVoXDTIxMDkzMDE0MDExNVow
PzEkMCIGA1UEChMbRGlnaXRhbCBTaWduYXR1cmUgVHJ1c3QgQ28uMRcwFQY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