Hello,
I'm currently building a small PoC using this Library and stumbled upon the following error:
I have generated three Certificates (Root, Intermediate,Leave) and key pairs.
The blockage reveals itself when I try to load the Intermediate Certificate.
From the public documentation I learned that I can load a certificate by deserializing the Certificate using CertificateParams::from_ca_cert_pem and signing it using CertificateParams::self_signed or CertificateParams::signed_by.
In my case self signing the certificate would break the chain and I don't have access to the root private key to sign the intermediary on every restart of the server.
In the Issues I've learned that there was a Certificate::from_pem that should satisfy my case but got it removed.
How can I load an existing CA Certificate without 'resigning' it?
Thanks
Paul
Hello,
I'm currently building a small PoC using this Library and stumbled upon the following error:
I have generated three Certificates (Root, Intermediate,Leave) and key pairs.
The blockage reveals itself when I try to load the Intermediate Certificate.
From the public documentation I learned that I can load a certificate by deserializing the Certificate using
CertificateParams::from_ca_cert_pemand signing it usingCertificateParams::self_signedorCertificateParams::signed_by.In my case self signing the certificate would break the chain and I don't have access to the root private key to sign the intermediary on every restart of the server.
In the Issues I've learned that there was a
Certificate::from_pemthat should satisfy my case but got it removed.How can I load an existing CA Certificate without 'resigning' it?
Thanks
Paul