Actualy this one should do everything that is required, but it still doesn't seem to work:     CERT_DIR=/usr/share/ca-certificates/le mkdir -p "${CERT_DIR}" # Root Certificates curl --insecure --silent "https://letsencrypt.org/certs/isrgrootx1.pem" --output "${CERT_DIR}/isrgrootx1.crt" curl --insecure --silent "https://letsencrypt.org/certs/isrg-root-x2.pem" --output "${CERT_DIR}/isrg-root-x2.crt" # Intermediate Certificates curl --insecure --silent "https://letsencrypt.org/certs