16,672 questions
0
votes
0
answers
37
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
106
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
1
answer
102
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
32
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
151
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
78
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
290
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
184
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
2
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
277
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
47
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 ...
1
vote
1
answer
172
views
Migrating from OpenSSL 1.1 to 3.0: How to generate DH key pair with 32-byte prime using EVP_PKEY-DH interface?
I'm migrating my Diffie-Hellman (DH) implementation from OpenSSL 1.1 to OpenSSL 3.0. Previously, I used APIs like DH_set0_pqg, but these are now deprecated. I am switching to the EVP_PKEY-DH interface ...
1
vote
0
answers
146
views
Why does EVP_PKEY_derive_set_peer cause a segmentation fault when using a peer public key reconstructed from BIGNUM in OpenSSL 3?
I'm using OpenSSL 3.0 EVP_PKEY in C to perform Diffie-Hellman key exchange. I generate Alice's and Bob's key pairs. I extract Bob's public key as a BIGNUM and try to reconstruct an EVP_PKEY for Bob's ...
1
vote
1
answer
127
views
Mise tells me openssl is not found event if it's installed on my computer [closed]
I'm trying to install PHP 8.4 with mise, but I've got an error saying that I'm missing OpenSSL.
configure: error: Package requirements (openssl >= 1.1.1) were not met:
No package 'openssl' found
...