[openssl 1.1.1n] My application acts as a SSL client and SSL server send 4 certificates in its Certificate packet and only the 3rd one has NULL algor in its public key.

Viktor Dukhovni openssl-users at dukhovni.org
Mon Mar 6 20:46:45 UTC 2023


On Mon, Mar 06, 2023 at 07:47:15PM +0000, Ma Zhenhua wrote:

> My applicaiton core dumped. I read the related OSSL code and can't
> figure out why  struct X509_pubkey_st.algor is NULL. I tried to
> reproduce the issue and captured the Certificate Handshake packet from
> the SSL server and found that the 3rd certificate contains the public
> key algorithm. Any constructive suggest is highly appreciated.
> 
> subjectPublicKeyInfo
>     algorithm (rsaEncryption)
>         Algorithm Id: 1.2.840.113549.1.1.1 (rsaEncryption)
>     subjectPublicKey: 3082010a0282010100b2788071ca78d5e371af478050747d6ed8d78876f49968f7582160…
>         modulus: 0x00b2788071ca78d5e371af478050747d6ed8d78876f49968f7582160f97484012fac022d…
>         publicExponent: 65537

Please make the certificate in question available, in either PEM or DER
format.  Off-list if you prefer.

-- 
    Viktor.


More information about the openssl-users mailing list