Move cert gen to Usage section of README.md.
This commit is contained in:
parent
6a52558dd8
commit
a4807656a2
14
README.md
14
README.md
|
@ -43,17 +43,17 @@ There a few reasons why a proxy is required:
|
||||||
the client asks the proxy (using the initial query string) to add
|
the client asks the proxy (using the initial query string) to add
|
||||||
sequence numbers to each packet.
|
sequence numbers to each packet.
|
||||||
|
|
||||||
To encrypt the traffic using the WebSocket 'wss://' URI scheme you
|
|
||||||
need to generate a certificate for the proxy to load. You can generate
|
|
||||||
a self-signed certificate using openssl. The common name should be the
|
|
||||||
hostname of the server where the proxy will be running:
|
|
||||||
|
|
||||||
`openssl req -new -x509 -days 365 -nodes -out self.pem -keyout self.pem`
|
|
||||||
|
|
||||||
|
|
||||||
Usage
|
Usage
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
* To encrypt the traffic using the WebSocket 'wss://' URI scheme you
|
||||||
|
need to generate a certificate for the proxy to load. You can generate
|
||||||
|
a self-signed certificate using openssl. The common name should be the
|
||||||
|
hostname of the server where the proxy will be running:
|
||||||
|
|
||||||
|
`openssl req -new -x509 -days 365 -nodes -out self.pem -keyout self.pem`
|
||||||
|
|
||||||
* run a VNC server.
|
* run a VNC server.
|
||||||
|
|
||||||
`vncserver :1`
|
`vncserver :1`
|
||||||
|
|
Loading…
Reference in New Issue