http://napan.ca/ghpsdr3/index.php?title=SSL_Key_Generation&feed=atom&action=historySSL Key Generation - Revision history2024-03-29T11:30:09ZRevision history for this page on the wikiMediaWiki 1.26.2http://napan.ca/ghpsdr3/index.php?title=SSL_Key_Generation&diff=775&oldid=prevFrohro at 13:54, 27 August 20132013-08-27T13:54:18Z<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;' lang='en'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 13:54, 27 August 2013</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l21" >Line 21:</td>
<td colspan="2" class="diff-lineno">Line 21:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>    </div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>    </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Note the message about the SSL keys ("Couldn't read 'pkey' or 'cert' file.") not being set up.  This is a process you do once.  The three commands to set up the SSL keys are just what the dspserver response above told you to do.  The second of these commands will ask you to personalize your keys.  Just answer the questions as they are presented.</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Note the message about the SSL keys ("Couldn't read 'pkey' or 'cert' file.") not being set up.  This is a process you do once.  The three commands to set up the SSL keys are just what the dspserver response above told you to do.  The second of these commands will ask you to personalize your keys.  Just answer the questions as they are presented<ins class="diffchange diffchange-inline">. The three commands in the proper order, are here below for you to paste into your terminal window to execute</ins>.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>   openssl genrsa -out pkey 2048</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>   openssl genrsa -out pkey 2048</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
</table>Frohrohttp://napan.ca/ghpsdr3/index.php?title=SSL_Key_Generation&diff=774&oldid=prevFrohro: Created page with "You may have a problem starting dspserver because you haven't created the SSL key pairs. For example: $ dspserver Reading conf file /home/frohro/dspserver.conf Country Loo..."2013-08-27T13:52:40Z<p>Created page with "You may have a problem starting dspserver because you haven't created the SSL key pairs. For example: $ dspserver Reading conf file /home/frohro/dspserver.conf Country Loo..."</p>
<p><b>New page</b></p><div>You may have a problem starting dspserver because you haven't created the SSL key pairs. For example:<br />
$ dspserver<br />
Reading conf file /home/frohro/dspserver.conf<br />
Country Lookup is On<br />
gHPSDR rx 0 (Version 0.7)<br />
dspserver string: 20130609;-master<br />
getSoundcardId: HPSDR id=8<br />
setSoundcard: 8<br />
setSoundcard -41.000000 -48.000000<br />
etup sdr thread 0: done<br />
setup sdr thread 1: done<br />
setup sdr thread 2: done<br />
client_thread<br />
[2013-08-26 10:15:12] client_thread: listening on port 8000<br />
Couldn't read 'pkey' or 'cert' file. To generate a key<br />
and self-signed certificate, run:<br />
openssl genrsa -out pkey 2048<br />
openssl req -new -key pkey -out cert.req<br />
openssl x509 -req -days 365 -in cert.req -signkey pkey -out cert<br />
client ctx init failed: No such file or directory<br />
<br />
<br />
Note the message about the SSL keys ("Couldn't read 'pkey' or 'cert' file.") not being set up. This is a process you do once. The three commands to set up the SSL keys are just what the dspserver response above told you to do. The second of these commands will ask you to personalize your keys. Just answer the questions as they are presented.<br />
openssl genrsa -out pkey 2048<br />
<br />
openssl req -new -key pkey -out cert.req<br />
<br />
openssl x509 -req -days 365 -in cert.req -signkey pkey -out cert</div>Frohro