Project

General

Profile

Actions

Bug #5259

closed

sysmoBTS: fix ca-certificates

Added by keith over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
-
Target version:
-
Start date:
10/12/2021
Due date:
% Done:

100%

Spec Reference:

Description

Since the LetEncrypt Root CA expiry fiasco a sysmobts is unable to use https, not least to access the sysmocom repos.

This script will disable the X3 cert and add the new LE root.

#!/bin/bash

grep isrgrootx1.pem /etc/ca-certificates.conf && exit

wget -q --no-check-certificate https://letsencrypt.org/certs/isrgrootx1.pem -O /usr/share/ca-certificates/isrgrootx1.pem
sed -i '/^mozilla\/AffirmTrust_Commercial.crt/i isrgrootx1.pem' /etc/ca-certificates.conf
sed -i '/^mozilla\/DST_Root_CA_X3/s/^/!/' /etc/ca-certificates.conf
update-ca-certificates

Maybe we can also somehow update the yocto/poky opkg package "ca-certificates"?


Files

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)