User Tools

Site Tools


websocketsdocumentation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
websocketsdocumentation [2022/08/31 14:16] – [Self-Signed Certificate Generation] wikiadminwebsocketsdocumentation [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.  Choose a passphrase of 4 or more characters, but remember what this passphrase is because you'll need to use this in the next OpenSSL generator step. Passphrase: he tool will prompt us to enter a PEM passphrase and other information.  Choose a passphrase of 4 or more characters, but remember what this passphrase is because you'll need to use this in the next OpenSSL generator step.
- +To generate a private key without encrypting  with a passphrase use the -nodes (short for "no DES") option 
 + 
 +<code Windows> 
 +openssl req -newkey rsa:2048 -nodes -x509 -keyout key.pem -out cert.pem -days 365 
 +</code> 
 Common Name: When prompted for the "Common Name" add the name of the server. If you are testing on "localhost", as when you test in MIStudio or MIX, answer with "localhost". If you plan to test on two networked systems, enter the web address of where the server will be running (do not enter the wss part, only the web server address, such as www.domainname.com). Common Name: When prompted for the "Common Name" add the name of the server. If you are testing on "localhost", as when you test in MIStudio or MIX, answer with "localhost". If you plan to test on two networked systems, enter the web address of where the server will be running (do not enter the wss part, only the web server address, such as www.domainname.com).
  
Line 89: Line 94:
 Server URI:(ServerUri)This URI of the server, eg wss:%%//%%yourhost:port Server URI:(ServerUri)This URI of the server, eg wss:%%//%%yourhost:port
  
-Trusted Certificate:(TrustedCert)The trusted server certificate in PEM format+<wrap hi>Be sure to use wss:%%//%% for a secure connection (with certificates) and ws:%%//%% for an insecure (no certificates) connection</wrap> 
 + 
 +Trusted Certificate:(TrustedCert)The trusted server certificate in PEM format. Only needed for a secure connection.
  
 ==== Examples of Use ==== ==== Examples of Use ====
websocketsdocumentation.1661969809.txt.gz · Last modified: by wikiadmin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki