Alaska Software Inc. - SSL support to the HttpEndpoint()
Username: Password:
AuthorTopic: SSL support to the HttpEndpoint()
Peter AlderliestenSSL support to the HttpEndpoint()
on Mon, 08 Aug 2016 11:47:37 +0200
I notice that the new build 2.00.721 has SSL support for HTTPEndPoint() so
WebHandlers and WebSocketHandlers accept secure connections.
I am very happy with this feature. 
The manual however does not give any information on how to set up a secure
websocket connection. Am I missing something?

Peter
Boris BorzicRe: SSL support to the HttpEndpoint()
on Sat, 13 Aug 2016 18:06:49 +0200
Peter Alderliesten wrote in
news:ntx6k8cc6lrp$.1rl6k12nxuilx.dlg@40tude.net: 

> I notice that the new build 2.00.721 has SSL support for
> HTTPEndPoint() so WebHandlers and WebSocketHandlers accept secure
> connections. I am very happy with this feature. 
> The manual however does not give any information on how to set up a
> secure websocket connection. Am I missing something?

FYI... Xb2.NET supports secure WebSocket connections since ver. 3.5 for 
both client AND server sides. Here are 2 live samples:

https://xb2.net/wsEcho.htm
https://xb2.net/wsChat.htm 

For the chat sample above, suggest you open multiple browser sessions each 
with a different user ID. That way you can send messages from one browser 
session to another.

Setting up the SSL connection is trivial. On the Xbase++ client-side, it's 
as simple as including "wss://" in the URL. On the Xbase++ server-side the 
existing HTTP server SSL settings are used to accept secure connections. 
The sample WEBSERVE application includes a robust SSL configuration that 
will give you an 'A' rating at Qualys SSL Labs, eg:
https://www.ssllabs.com/ssltest/analyze.html?d=xb2.net

xbWebSocket class documentation can be found here:
https://xb2.net/xb2net/Xb2NET.htm#xbWebSocket

Best regards,
Boris Borzic

http://xb2.net
http://sqlexpress.net
industrial strength Xbase++ development tools