Also in updating to Ubuntu 22.04 I realized that pem is not compatible to OpenSSL v3: https://github.com/Dexus/pem/issues/316