websocketsdocumentation
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| websocketsdocumentation [2022/08/31 14:16] – [Self-Signed Certificate Generation] wikiadmin | websocketsdocumentation [2023/10/08 13:41] (current) – wikiadmin | ||
|---|---|---|---|
| Line 44: | Line 44: | ||
| Passphrase: he tool will prompt us to enter a PEM passphrase and other information. | Passphrase: he tool will prompt us to enter a PEM passphrase and other information. | ||
| - | + | To generate a private key without encrypting | |
| + | |||
| + | <code Windows> | ||
| + | openssl req -newkey rsa:2048 -nodes -x509 -keyout key.pem -out cert.pem -days 365 | ||
| + | </ | ||
| Common Name: When prompted for the " | Common Name: When prompted for the " | ||
| Line 89: | Line 94: | ||
| Server URI: | Server URI: | ||
| - | Trusted Certificate: | + | <wrap hi>Be sure to use wss:%%//%% for a secure connection (with certificates) and ws:%%//%% for an insecure (no certificates) connection</ |
| + | |||
| + | Trusted Certificate: | ||
| ==== Examples of Use ==== | ==== Examples of Use ==== | ||
websocketsdocumentation.1661969809.txt.gz · Last modified: by wikiadmin
