16,661 questions
Advice
0
votes
0
replies
58
views
What OpenSSL API call will give me a list of key algorithms that could sign an X509 certificate?
The X509_get_signature_info() function allows the public/private key nid (pknid) to be returned for an X509 certificate, with examples like "RSA".
To be nice to people, we want to offer ...
2
votes
0
answers
205
views
Indy 10 TCPServer and SSL certificate verifying issue (error 20, SSL alert number 48)
I am developing an application, which has a built-in TCP server. I want the server to be secure via OpenSSL. The server has to identify its clients and the clients must identify the server.
If I ...
2
votes
0
answers
62
views
How to renegotiate over TLS 1.2 using OpenSSL 3?
Using OpenSSL 3.3.0, we are having trouble with TLS 1.2 renegotiation.
We implemented C++ applications on both the server and client sides, and configured options to enable renegotiation. In practice, ...
0
votes
0
answers
43
views
gcc:internal compiler error:Segmentation fault signal terminated programcc1
I am trying to build OpenSSL from source inside a Docker container based on an Alpine Linux toolchain image (ghcr.io/nokia/corteca-toolchain). The target architecture is AArch64, and this environment ...
0
votes
1
answer
110
views
Delphi 11+ 64-bit executable: How do I specify which DLLs to load when Indy 10 initializes OpenSSL?
I have a set of 64-bit DLLs, but the standard DLL names for the 64-bit DLL names clash with the 32-bit DLL names. We should probably not mix 32-bit and 64-bit and have their .exes and .dlls in ...
1
vote
2
answers
162
views
How to build the Apache Tomcat Native Library?
I updated my Apache Tomcat installation from 9.0.57 to 9.0.127 on Ubuntu 22.04 (in other words I removed the apt version and manually installed the updated version). Everything works fine, except that ...
0
votes
0
answers
46
views
Which certificate file for TaurusTLS RootKey property?
I've generated a domain certificate and it comes with three files: a certificate, a private key, and a CA bundle.
The TTaurusTLSServerIOHandler exposes three fields:
PrivateKey
PublicKey
Rootkey
I set ...
1
vote
1
answer
179
views
Certificate error with Indy TaurusTLS and Delphi 13 FMX
My Delphi 13 32-bit FMX project using Indy and TaurusTLS is throwing this exception:
Project ProjectMikeTaurus.exe raised exception class ETaurusTLSLoadingCertError with message Could not load ...
1
vote
1
answer
79
views
How do I specify that CN=<container_name> and localhost at the same time for openssl self signed certificates between postgres and express?
Postgres is running inside a docker container named postgres_server.development.ch_api
Express is running inside another docker container named express_server.development.ch_api
I am trying to setup ...
4
votes
1
answer
291
views
How to FIX printf resulted SIGSEGV when compiled with openssl?
I am trying to compile my code with openssl library. My code is printf then the program received SIGSEGV signal.
Code of test.c:
#include <winsock2.h>
#include <openssl/ssl.h>
#include <...
1
vote
0
answers
96
views
Using boost::asio::async_wait with Native recvfrom() Calls: Is It Correct?
Suppose we are waiting for incoming data on a socket using the call socket::async_wait(socket::wait_read, callback). After the callback notifies us that data is available, is it possible to read the ...
0
votes
0
answers
190
views
Weird linker error "undefined reference to `__imp__vsnprintf'" in "libcrypto.a" in C++ Windows project?
I've been working on a C++ project. I have been using 2 Windows PCs for building it and both worked fine with the same (kinda janky) setup. I recently got a new computer and I get a linker error. My ...
12
votes
3
answers
3k
views
Ruby SSL_connect certificate verify failed: unable to get certificate CRL on macOS
m getting an SSL error when making an HTTPS request in a Rails controller (Ruby 3.1.6):
OpenSSL::SSL::SSLError in PurchaseAttemptsController#create
SSL_connect returned=1 errno=0 peeraddr=3.175.45.47:...
1
vote
1
answer
308
views
How to compile 64-bit binaries for latest versions of OpenSSL (3.5.x) on the Windows 10
I am trying to compile latest version of the OpenSSL on Windows 10 machine (version 3.5.4).
Prerequisites are:
I ran x64 Native Tools Command Prompt for Visual Studio 2022 Community Edition
I ...
0
votes
0
answers
52
views
How to achieve complete read/write thread separation for BoringSSL using BIO APIs
I'm integrating BoringSSL into my networking library for secure communication. I've observed that both SSL_read() and SSL_write() operations can potentially trigger both read and write activities on ...