Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

SSL?

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
Anonymous
Guest





PostPosted: Wed Sep 19, 2007 10:39 pm    Post subject: SSL? Reply with quote

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
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Thu Sep 20, 2007 12:13 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Anonymous
Guest





PostPosted: Thu Sep 20, 2007 10:25 pm    Post subject: Reply with quote

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 Very Happy

Thanks,
David
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Sep 21, 2007 1:31 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber