You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@qpid.apache.org by Stefan Hoelzer <st...@deutsche-boerse.com.INVALID> on 2024/01/26 08:24:09 UTC
Proton C++ with OpenSSl on Windows
Hi,
Is it possible to use the Proton C++ API with openSSL on Windows?
If yes how?
If I run cmake to build the proton library I get:
D:\qpid-proton-0.39.0\build>cmake ..
-- Building for: Visual Studio 17 2022
-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.14393.
-- The C compiler identification is MSVC 19.37.32825.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.37.32822/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Found OpenSSL: optimized;C:/Program Files/OpenSSL-Win64/lib/VC/libcrypto64MD.lib;debug;C:/Program Files/OpenSSL-Win64/lib/VC/libcrypto64MDd.lib (found version "3.0.8")
...
If I run the ssl_client_cert.cpp example, it selects per default the .p12 files and it works as expected.
if I manipulate the using_OpenSSL()function to return always true here, the example application using the .pem files but I get:
SSL certificate initialization failure for ssl-certs/tserver-certificate.pem:ssl-certs/tserver-private-key.pem:tserverpw
My application target is x64.
But _WIN32 as well as _WIN64 is defined per Compiler default.
I need openSSL here to support TLS v1.3 and it works fine for other libraries like for example nats.
Any Idea?
Many thanks
Stefan
Internal
-----------------------------------------
Diese E-Mail enthaelt vertrauliche oder rechtlich geschuetzte Informationen.
Wenn Sie nicht der beabsichtigte Empfaenger sind, informieren Sie bitte
sofort den Absender und loeschen Sie diese E-Mail. Das unbefugte Kopieren
dieser E-Mail oder die unbefugte Weitergabe der enthaltenen Informationen
ist nicht gestattet.
The information contained in this message is confidential or protected by
law. If you are not the intended recipient, please contact the sender and
delete this message. Any unauthorised copying of this message or
unauthorised distribution of the information contained herein is prohibited.
Legally required information for business correspondence/
Gesetzliche Pflichtangaben fuer Geschaeftskorrespondenz:
http://deutsche-boerse.com/letterhead