[Main Page]

configuring websockets

_.-~= configuring websockets
Install websocketd
--2019-09-20 04:15:10--  https://github.com/joewalnes/websocketd/releases/download/v0.3.0/websocketd-0.3.0-linux_amd64.zip
Resolving github.com (github.com)... 192.30.253.112
Connecting to github.com (github.com)|192.30.253.112|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/8201256/a5232b5e-e9b7-11e7-8c78-aaf8c8147bcf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190920%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20190920T081510Z&X-Amz-Expires=300&X-Amz-Signature=3400b66530b315b95bb7ea716b97fd7a007269adf85188d5473f6a65869a369d&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dwebsocketd-0.3.0-linux_amd64.zip&response-content-type=application%2Foctet-stream [following]
--2019-09-20 04:15:10--  https://github-production-release-asset-2e65be.s3.amazonaws.com/8201256/a5232b5e-e9b7-11e7-8c78-aaf8c8147bcf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190920%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20190920T081510Z&X-Amz-Expires=300&X-Amz-Signature=3400b66530b315b95bb7ea716b97fd7a007269adf85188d5473f6a65869a369d&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dwebsocketd-0.3.0-linux_amd64.zip&response-content-type=application%2Foctet-stream
Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.216.164.171
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.164.171|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2577364 (2.5M) [application/octet-stream]
Saving to: ‘websocketd-0.3.0-linux_amd64.zip’

     0K .......... .......... .......... .......... ..........  1% 1.51M 2s
    50K .......... .......... .......... .......... ..........  3% 11.3M 1s
   100K .......... .......... .......... .......... ..........  5% 3.14M 1s
   150K .......... .......... .......... .......... ..........  7% 3.85M 1s
   200K .......... .......... .......... .......... ..........  9% 11.0M 1s
   250K .......... .......... .......... .......... .......... 11% 11.2M 1s
   300K .......... .......... .......... .......... .......... 13% 4.92M 1s
   350K .......... .......... .......... .......... .......... 15% 11.2M 0s
   400K .......... .......... .......... .......... .......... 17% 10.9M 0s
   450K .......... .......... .......... .......... .......... 19% 11.1M 0s
   500K .......... .......... .......... .......... .......... 21% 11.2M 0s
   550K .......... .......... .......... .......... .......... 23% 10.9M 0s
   600K .......... .......... .......... .......... .......... 25% 11.2M 0s
   650K .......... .......... .......... .......... .......... 27% 10.6M 0s
   700K .......... .......... .......... .......... .......... 29% 11.0M 0s
   750K .......... .......... .......... .......... .......... 31% 11.2M 0s
   800K .......... .......... .......... .......... .......... 33% 10.9M 0s
   850K .......... .......... .......... .......... .......... 35% 15.8M 0s
   900K .......... .......... .......... .......... .......... 37% 11.2M 0s
   950K .......... .......... .......... .......... .......... 39% 11.2M 0s
  1000K .......... .......... .......... .......... .......... 41% 10.9M 0s
  1050K .......... .......... .......... .......... .......... 43% 10.9M 0s
  1100K .......... .......... .......... .......... .......... 45% 11.2M 0s
  1150K .......... .......... .......... .......... .......... 47% 10.9M 0s
  1200K .......... .......... .......... .......... .......... 49% 11.2M 0s
  1250K .......... .......... .......... .......... .......... 51% 10.9M 0s
  1300K .......... .......... .......... .......... .......... 53% 11.0M 0s
  1350K .......... .......... .......... .......... .......... 55% 11.2M 0s
  1400K .......... .......... .......... .......... .......... 57% 10.9M 0s
  1450K .......... .......... .......... .......... .......... 59% 11.2M 0s
  1500K .......... .......... .......... .......... .......... 61% 10.8M 0s
  1550K .......... .......... .......... .......... .......... 63% 11.2M 0s
  1600K .......... .......... .......... .......... .......... 65% 10.9M 0s
  1650K .......... .......... .......... .......... .......... 67% 10.9M 0s
  1700K .......... .......... .......... .......... .......... 69% 16.0M 0s
  1750K .......... .......... .......... .......... .......... 71% 11.2M 0s
  1800K .......... .......... .......... .......... .......... 73% 11.2M 0s
  1850K .......... .......... .......... .......... .......... 75% 10.9M 0s
  1900K .......... .......... .......... .......... .......... 77% 11.2M 0s
  1950K .......... .......... .......... .......... .......... 79% 10.8M 0s
  2000K .......... .......... .......... .......... .......... 81% 11.1M 0s
  2050K .......... .......... .......... .......... .......... 83% 11.2M 0s
  2100K .......... .......... .......... .......... .......... 85% 10.9M 0s
  2150K .......... .......... .......... .......... .......... 87% 11.4M 0s
  2200K .......... .......... .......... .......... .......... 89% 10.9M 0s
  2250K .......... .......... .......... .......... .......... 91% 10.8M 0s
  2300K .......... .......... .......... .......... .......... 93% 11.2M 0s
  2350K .......... .......... .......... .......... .......... 95% 10.9M 0s
  2400K .......... .......... .......... .......... .......... 97% 11.2M 0s
  2450K .......... .......... .......... .......... .......... 99% 10.9M 0s
  2500K .......... ......                                     100% 69.5M=0.3s

2019-09-20 04:15:11 (9.06 MB/s) - ‘websocketd-0.3.0-linux_amd64.zip’ saved [2577364/2577364]

Archive:  websocketd-0.3.0-linux_amd64.zip
  inflating: websocketd              
  inflating: README.md               
  inflating: LICENSE                 
  inflating: CHANGES                 
Return Value = 0
Before you can start websockets, you must install a valid SSL certificate in /etc/apache2/ssl/


Configuring a new temporary SSL certificate....

Generating a RSA private key
............+++++
.................+++++
writing new private key to '/etc/apache2/ssl/server.key'
-----
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [AU]:State or Province Name (full name) [Some-State]:Locality Name (eg, city) []:Organization Name (eg, company) [Internet Widgits Pty Ltd]:Organizational Unit Name (eg, section) []:Common Name (e.g. server FQDN or YOUR name) []:Email Address []:Considering dependency setenvif for ssl:
Module setenvif already enabled
Considering dependency mime for ssl:
Module mime already enabled
Considering dependency socache_shmcb for ssl:
Module socache_shmcb already enabled
Module ssl already enabled
Return Value = 0
Run websocketd, choosing option b:
b. Run websocketd without a proxy (chosen)
Return Value = 0
End of configuring websockets =~-._