openssl 3.0 - id2_x509() now fails
kgoldman at us.ibm.com
Fri Aug 6 22:06:27 UTC 2021
On 8/6/2021 1:11 PM, Ken Goldman wrote:
> I have an application where I have to create a partial x509 certificate. It gets sent to an HSM, which fills in the public key and signs it.
> I was calling
> and then
> to send the serialized partial certificate to the HSM.
> This worked in 1.0.1, 1.0.2, 1.1.1, but fails in 3.0.0.
> In debugging, even this fails.
Following up, I found that just omitting the signature from the
X509 structure causes i2d_x509 to fail.
I tried i2d_re_X509_tbs(), but it also failed.
More information about the openssl-users