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

Newbie on OpenCA's OCSP Responder setup #61

Open
StocktonC opened this issue Jan 8, 2024 · 2 comments
Open

Newbie on OpenCA's OCSP Responder setup #61

StocktonC opened this issue Jan 8, 2024 · 2 comments

Comments

@StocktonC
Copy link

hi all,

i am newbie on OpenCA's OCSP Responder. I just assigned to develop an OpenCA's OCSP Responder project to test the verification of a certificate status. Refer to official website. I downloaded libpki-0.8.9.tar.gz and openca-ocspd-3.1.2.tar.gz and putty the files to new linux server (CentOS7) . After i run ./configure under libpki folder. It returns the following message:

checking checking for ldap vendor... LDAP VENDOR () ===> searching for Sun
checking checking for OpenLDAP vendor () ... LDAP VENDOR:
*** ERROR: No supported LDAP vendor found.
configure: error: *** ERROR: Do you have the devel package installed ?

I really don't know how to do. Looks there very limited setup document about that.
Did anyone can share me more update document about the setup?

Thanks.

@StocktonC
Copy link
Author

above stated issued fix by run
=> yum install openldap-devel
but new issues come up with following message during run make command under libpki stage:

Making all in drivers
make[2]: Entering directory /usr/local/src/libpki/src/drivers' Making all in openssl make[3]: Entering directory /usr/local/src/libpki/src/drivers/openssl'
/bin/sh ../../../libtool --tag=CC --mode=compile gcc -std=gnu11 -I. -I../../../src/libpki -I../.. -DENABLE_ECDSA=1 -D__LIB_BUILD__ -I/usr/include -g -O2 -DENABLE_ECDSA=1 -I/usr/include/libxml2 -DLINUX -g -O2 -MT libpki_token_openssl_la-openssl_hsm.lo -MD -MP -MF .deps/libpki_token_openssl_la-openssl_hsm.Tpo -c -o libpki_token_openssl_la-openssl_hsm.lo test -f 'openssl_hsm.c' || echo './'openssl_hsm.c
libtool: compile: gcc -std=gnu11 -I. -I../../../src/libpki -I../.. -DENABLE_ECDSA=1 -D__LIB_BUILD__ -I/usr/include -g -O2 -DENABLE_ECDSA=1 -I/usr/include/libxml2 -DLINUX -g -O2 -MT libpki_token_openssl_la-openssl_hsm.lo -MD -MP -MF .deps/libpki_token_openssl_la-openssl_hsm.Tpo -c openssl_hsm.c -fPIC -DPIC -o .libs/libpki_token_openssl_la-openssl_hsm.o
In file included from ../../libpki/pki_x509_data_st.h:14:0,
from ../../libpki/net/ssl.h:21,
from ../../libpki/net/pki_socket.h:18,
from ../../libpki/net/url.h:132,
from ../../libpki/io/pki_x509_io.h:8,
from ../../libpki/pki_io.h:12,
from ../../libpki/pki_mem.h:18,
from ../../libpki/os.h:355,
from ../../libpki/pki.h:27,
from ../../libpki/drivers/openssl/openssl_hsm.h:6,
from openssl_hsm.c:4:
../../libpki/openssl/data_st.h:412:0: warning: "PKI_DIGEST_ALG_SHA3_256" redefined [enabled by default]
#define PKI_DIGEST_ALG_SHA3_256 NID_undef
^
../../libpki/openssl/data_st.h:411:0: note: this is the location of the previous definition
#define PKI_DIGEST_ALG_SHA3_256 (PKI_DIGEST_ALG *) NULL
^
../../libpki/openssl/data_st.h:1255:36: error: ‘OPENSSL_EC_EXPLICIT_CURVE’ undeclared here (not in a function)
PKI_EC_KEY_ASN1_EXPLICIT_CURVE = OPENSSL_EC_EXPLICIT_CURVE,
^
In file included from ../../libpki/pki.h:283:0,
from ../../libpki/drivers/openssl/openssl_hsm.h:6,
from openssl_hsm.c:4:
../../libpki/pki_kdf.h:25:25: fatal error: openssl/kdf.h: No such file or directory
#include <openssl/kdf.h>
^
compilation terminated.
make[3]: *** [libpki_token_openssl_la-openssl_hsm.lo] Error 1
make[3]: Leaving directory /usr/local/src/libpki/src/drivers/openssl' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory /usr/local/src/libpki/src/drivers'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/libpki/src'
make: *** [all-recursive] Error 1

any idea? Thanks

@StocktonC
Copy link
Author

Now i face the same issue as all of others without a clear solution on that:

error: Failed dependencies:
libpki.so.89()(64bit) is needed by openca-ocspd-3.1.2-1.el7.x86_64

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