See http://wiki.freeswitch.org/wiki/Mod_xml_curl#.3Cbinding.3E_options

To verify the certificate you must set on the binding(s):
ssl-cacert-path = /etc/ssl/certs/ca-certificates.crt (assuming Linux)
enable-cacert-check = true
enable-ssl-verifyhost = true

The first is the file containing the CA certificates to verify that the certificate is signed by a trusted CA. The next tells it to do that check. The 3rd checks the common name matches that of the URL (without that any trusted signed certificate would be accepted, even on other URLs).

-Steve


On 6 March 2013 08:09, Alexander Haugg <Alexander.Haugg@c4b.de> wrote:
hi all,

since view hours i try to make a https request to a c# sslstream class.
the same request works fine with the browser.

In my descriotion the freeswitch is the web client and the c# sslstream side is the server.

Is it possible to configure the xml_curl.config.xml to trust any server certificate and the certificate comes only from the server (the same that's working with the browser)?
With all configurations that i try the client sends an Encryptet Alert and a [Fin, ACK].

At the moment, the server side use a *.pfx cert gerneratet with openssl.

Thanks for your help.

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org