Z
Zohar81
Guest
Hi,
I'm using winHttpConnect in order to establish an https connection between my windows agent and a remote server whose URL is appliance1.com and listen on SNI appliance_api.
However, it seems like winHttpConnect only accept pswzServerName as an input, and it used to set both SNI and the server URL.
In low level APIs such as openSSL, it's easy to differentiate the names :
OpenSSL s_client -servername my_appliance -connect 192.0.2.4:443
OpenSSL s_client -servername my_appliance -connect my_appliance.com:443
Is there any option to do so in winhttp ?
thanks,
Continue reading...
I'm using winHttpConnect in order to establish an https connection between my windows agent and a remote server whose URL is appliance1.com and listen on SNI appliance_api.
However, it seems like winHttpConnect only accept pswzServerName as an input, and it used to set both SNI and the server URL.
In low level APIs such as openSSL, it's easy to differentiate the names :
OpenSSL s_client -servername my_appliance -connect 192.0.2.4:443
OpenSSL s_client -servername my_appliance -connect my_appliance.com:443
Is there any option to do so in winhttp ?
thanks,
Continue reading...