I succesfully used libsoup to request an API using https in C used from C++. However when I build in release mode my request would get rejected with status 6: unacceptable TLS certificate.
I tried to get more information and found out the "tls-database" property of my SoupSession was NULL in release mode and was a valid pointer in Debug mode.
I tried to dig into the glib sources to find possible informations on how GTlsDatabase was built but was unable to find the specific Windows implementations to understand the issue...
I use the glib/libsoup included in GStreamer 1.12.4 installer for Windows (10) which is libsoup 2.56.0.
Is there a way to specifically load the certificate (found nothing on that too) or is there a specific env var that would be available in debug mode only? Is there a bug I didn't find in the bugs reported?