Skip to content

Segmentation fault with libpki 0.99.2-rc2 and openssl 3.0.11 #59

@Le-onardo

Description

@Le-onardo

Hi,

I've been trying to build the current openca-ocspd version with the newest libpki library (0.9.9-rc2) and openssl 3.0.11 (Debian 12) and was able to compile it, but ran into trouble when starting ocspd with a configuration file that was working with the older openssl 1.1 and libpki 0.9.2.

After starting with "ocspd -c .xml" it exits with a segmentation fault. The last two messages in the debug log are the following:

[pki_keypair.c:185] [PKI_X509_KEYPAIR_VALUE_get_scheme()] [DEBUG]: ERROR, can not get the type of the keypair to get the scheme!
[crl.c:217] [check_crl()] [DEBUG] Got the public key from the CA cert [Scheme: Unknown, Key Size: 0]

I also checked the last function pointer on the stack, which seems to point to ENGINE_get_pkey_meth() from libcrypto.so.3

Are there any plans on supporting the new libpki version and add support to openssl 3?

If you need any more information or logs in order to solve this, I have no problem in helping out.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions