SSL Key Generation
From Ghpsdr3 SDR project
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 Lookup is On gHPSDR rx 0 (Version 0.7) dspserver string: 20130609;-master getSoundcardId: HPSDR id=8 setSoundcard: 8 setSoundcard -41.000000 -48.000000 etup sdr thread 0: done setup sdr thread 1: done setup sdr thread 2: done client_thread [2013-08-26 10:15:12] client_thread: listening on port 8000 Couldn't read 'pkey' or 'cert' file. To generate a key and self-signed certificate, run: openssl genrsa -out pkey 2048 openssl req -new -key pkey -out cert.req openssl x509 -req -days 365 -in cert.req -signkey pkey -out cert client ctx init failed: No such file or directory
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. The three commands in the proper order, are here below for you to paste into your terminal window to execute.
openssl genrsa -out pkey 2048
openssl req -new -key pkey -out cert.req
openssl x509 -req -days 365 -in cert.req -signkey pkey -out cert