| View previous topic :: View next topic |
| Author |
Message |
Anonymous Guest
|
Posted: Wed Sep 19, 2007 10:39 pm Post subject: SSL? |
|
|
| Is SSL a part of the future release plans? Would like to stream MP3 files to a player through https://ms/audio.mp3... |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Thu Sep 20, 2007 12:13 am Post subject: |
|
|
The ability to specify an ssl socket is part of the trunk code now. It's not documented yet but just mark <ssl>1</ssl> in the <listen-socket> and <ssl-certificate>/file.pem</ssl-certificate> in <paths>. Obviously whether the client handles ssl is another matter.
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Thu Sep 20, 2007 10:25 pm Post subject: |
|
|
Ok, cool! Thanks.
I used the OpenSSL tools to create a private key file (openssl genrsa -out privkey.pem 2048).
Then created a certificate file from that (openssl req -new -x509 -key privkey.pem -out cacert.pem -days 1095).
Put the cacert.pem in the <paths> for the <ssl-certificate> - got invalid private key file error. Put the privkey.pem file in the <paths> for the <ssl-certificate> - got invalid cert file error.
Any help would be fabulous
Thanks,
David |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Sep 21, 2007 1:31 am Post subject: |
|
|
Either combine the 2 files you generated or create them with something like
openssl req -new -newkey rsa:2048 -days 365 -nodes -x509 -keyout sample.pem -out sample.pem
karl. |
|
| Back to top |
|
 |
|