Kapalı

Websockets over SSL on Apache

Installed a php script which uses Websockets (Ratchet).

Since Chrome 47 a camera/mic access is allowed only over https. For that reason you will be forced to use HTTPS protocol only. (I am!)

Further, if you use HTTPS for your website, browser will not allow any other non-secure communication. So websocket communication must be secure as well, it must use wss instead of ws protocol.

However, The server part of the system itself cannot run wss (ws over ssl) for websockets, though there are possible 3rd party work-arounds with proxies. You should already make sure you will be able to apply one of them. (I don't know!)

If you are already using Apache (I am!) , the easiest way might be to use it as a proxy. In order to achieve this you can enable Apache's proxy_wstunnel (sudo a2enmod proxy_wstunnel). In your domain .conf file (the actual file might vary on different OS) you can add, usually next to where you ssl certificate is defined:

SSLProxyEngine On

ProxyPass /wss/ ws://[url removed, login to view]

Beceriler: Apache, HTML5, Linux, PHP

Daha fazlasını görün: mod_proxy_wstunnel example, apache websocket configuration, apache enable mod_proxy_wstunnel, install mod_proxy_wstunnel, apache websocket proxy example, apache websocket reverse proxy, https apache websockets, apache proxy wss to ws, need php script installed, rails ssl apache, linux kill apache php script, ssl apache centos, speaking plain http ssl apache rewrite, restaurant order system system using visual basic, example restaurant order system system using visual basic

İşveren Hakkında:
( 321 değerlendirme ) Winter Park, United States

Proje NO: #15416566

5 freelancer bu iş için ortalamada 28$ teklif veriyor

ownmyserver

Hi, I have reviewed your requirement and i find this quite interesting, our site is: [url removed, login to view] will provide quick and perfect solution for your all type of technical issues/requirement Relevant Skills Daha fazlası

1 gün içinde 35$ USD
(183 Değerlendirme)
6.2
gursukh

Hey, I'm interested in your project. I'm individual​ freelancer with 5year experience. I'm always available here .so  Please send me a message so that we can discuss more.

1 gün içinde 30$ USD
(38 Değerlendirme)
5.1
shoiebarshad

i can do this using Apache, in my experience nginx provide a better reliability when it comes to web sockets. but it's your choice which one you want to use. Relevant Skills and Experience i have done similar project Daha fazlası

1 gün içinde 25$ USD
(2 Değerlendirme)
2.5
ivin01

I have experience with similar setup using Apache 2.4, mod_proxy, mod_wstunnel using multiple backend instances where websocket needs to be proxied. Relevant Skills and Experience Apache Ubuntu WebSockets wstunnel, mo Daha fazlası

1 gün içinde 25$ USD
(0 Değerlendirme)
0.0
narayanansukumar

I would say enable letsencrypt free ssl.. If you need any assistance please ping me.

1 gün içinde 25$ USD
(0 Değerlendirme)
0.0