austgl / phpws

Automatically exported from code.google.com/p/phpws
0 stars 0 forks source link

ssl #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
c:\@>php demo_ssl.php
2012-02-24 23:19:02 | PHP WebSocket Server
2012-02-24 23:19:02 | ========================================
2012-02-24 23:19:02 | Server Started : 2012-02-24 23:19:02
2012-02-24 23:19:02 | Listening on   : ssl://0.0.0.0:12345
2012-02-24 23:19:02 | ========================================

Warning: stream_socket_accept(): SSL operation failed with code 1. OpenSSL Error
 messages:
error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca in C:\@\webso
cket.server.php on line 195

Warning: stream_socket_accept(): Failed to enable crypto in C:\@\websocket.serve
r.php on line 195

Warning: stream_socket_accept(): accept failed: Operacja uko˝czona pomyťlnie.
 in C:\@\websocket.server.php on line 195
2012-02-24 23:19:11 | socket_accept() failed
2012-02-24 23:19:11 | Socket accepted

Original issue reported on code.google.com by dslkjdsj...@onet.pl on 24 Feb 2012 at 10:32

GoogleCodeExporter commented 9 years ago
Hmmm did you change the client to connect using SSL as well? The url should 
start with wss:// .

Unfortunately SSL support is not tested properly, so it might take some effort 
to make it work.

Original comment by ch...@devristo.com on 25 Feb 2012 at 9:45

GoogleCodeExporter commented 9 years ago

Original comment by ch...@devristo.com on 22 May 2012 at 7:33

GoogleCodeExporter commented 9 years ago
Good job ! ^^

Original comment by j.mon...@gmail.com on 16 Jan 2013 at 5:33