Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2023-11

fcl-web websocket

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Unknown author

Hi guys,

do somone know how to enable ssl with the websocket semod

fcl-web/examples/websocket/server/wsserver
fcl-web/examples/websocket/client/wsclient

the client working fine with a node websocket server, with just one command more

FClient.UseSSL := True;
and uses opensslsockets

but the server with the same command crash

what do i have to do on the server side to have a ssl connection

thanks in advance
peter

Reply by email

Michael Van Canneyt
to Unknown author
k1 wrote 17 lines
Hi guys, do somone know how to enable ssl with the websocket semod fcl-web/examples/websocket/server/wsserver fcl-web/examples/websocket/client/wsclient the client working fine with a node websocket server, with just one command more FClient.UseSSL := True; and uses opensslsockets but the server with the same command crash what do i have to do on the server side to have a ssl connection

It should work out of the box. I tested it when it was developed, the 'wss' scheme worked.

If it does not work for you, please report it in the issue tracker and attach a sample console program that shows the issue.

Michael.

Reply by email