Category : openssl

After using "SSL_CTX * _sslctx = …" in my project, the QT signals sslErrors are not executed. It just returns the error: "qt.network.ssl: Neither X509_STORE, nor SSL contains error list, handshake failure" I don’t intend to use QT to work with certificates, just OpenSSL because I use Libxml2. Using separate QT network and OpenSSL is ..

Read more

I am using a non-plug-and-play driver without cat/inf files. I can’t load it without it being signed. I using MinGW not visual studio so I can’t(and don’t really want to) use any test-signing features. What I’ve made is a basic two certificate chain consisting of a CA cert and a code-signing cert issued by the ..

Read more

I’m trying to get the NET::ERR_CERT_DATE_INVALID error fixed for local development. I’m working with a xampp setup (PHP 7.4, Windows 10). After trying several tutorials on self signed certificates, I’m now on a point where I’m stucked. What I’ve done so far Creating a self signed certificate, using openssl in xampp like this: set OPENSSL_CONF=C:xamppphpextrasopensslopenssl.cnf ..

Read more

I installed OpenSSL but is not recognized.I added env variable In my CMD SET PATH=C:Program FilesOpenSSL-Win64bin;%PATH% It appears first echo %Path% C:Program FilesOpenSSL-Win64bin;C:Program Files (x86)Microsoft SDKsAzureCLI2wbin but disappears after the restart. openssl : The term ‘openssl’ is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of ..

Read more

I have a macos project with dependencies of boost asio that also uses <boost/asio/ssl.hpp> so its actualy depends on openssl library and headers. I’m trying to compile it to a standalone executable. my CMakeLists.txt content is: cmake_minimum_required(VERSION 3.0.0) project(boost_prx VERSION 1.0.0) set(CMAKE_OSX_DEPLOYMENT_TARGET 10.13) set(SOURCE_FILES proxy.cpp proxy-server.cpp proxy-server.hpp proxy-conn.hpp proxy-conn.cpp auto.h auto.cpp certs.hpp certs.cpp common_tasks.hpp common_tasks.cpp ..

Read more

i wanna generate a CSRF token with a 24 characters using openssl. i found a function to generate random data in openssl lib – RAND_bytes but on output i get a 32 chars token with uppercase letters, sometimes with some symbols like / how to generate a token only with numbers and lowercase letters and ..

Read more

I’m trying to build a gRPC application with mutual authentication using c++. When I set the GRPC_SSL_REQUEST_AND_REQUIRE_CLIENT_CERTIFICATE_AND_VERIFY option on the server, the client does not return it’s certificate. The server shows the following error: Handshake failed with fatal error SSL_ERROR_SSL: error:1417C0C7:SSL routines:tls_process_client_certificate:peer did not return a certificate. Without this option, only the server is authenticated ..

Read more