Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Le-onardo opened this issue Nov 14, 2023 · 0 comments
Open

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

Le-onardo opened this issue Nov 14, 2023 · 0 comments

Comments

@Le-onardo
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant