openssl / perftools

Performance testing tools
Apache License 2.0
4 stars 4 forks source link

handshake "Failed to create SSL_CTX pair" #9

Closed quarckster closed 2 months ago

quarckster commented 2 months ago

handshake always produces Failed to create SSL_CTX pair

LD_LIBRARY_PATH=${HOME}/openssl-3.0-test ./handshake 10 -t -s ${HOME}/test
Failed to create SSL_CTX pair
Failed to create SSL_CTX pair
Failed to create SSL_CTX pair
Failed to create SSL_CTX pair
Failed to create SSL_CTX pair
Failed to create SSL_CTX pair
Failed to create SSL_CTX pair
Failed to create SSL_CTX pair
Failed to create SSL_CTX pair
Failed to create SSL_CTX pair
2.109200
t8m commented 2 months ago

Usage for handshake is: handshake [-t] [-s] <certsdir> <threadcount>

The certsdir needs to contain servercert.pem and serverkey.pem - ${HOME}/openssl-3.0-test/test/certs would be probably the correct path for you.