Stanalone Player And Jetty SSL Settings For HTTPS

General discussions.

Moderator: moderators

Stanalone Player And Jetty SSL Settings For HTTPS

Postby moldham » Tue Jun 29, 2010 7:13 pm

I am trying to get SSL to work without using tomcat using the standalone installation.

Does anyone know which file would needed to be changed to add something like the following so that SSL will work with the standalone version?

Code: Select all
<Call name="addConnector">
    <Arg>
      <New class="org.mortbay.jetty.security.SslSocketConnector">
        <Set name="Port">8443</Set>
        <Set name="maxIdleTime">30000</Set>
        <Set name="keystore"><SystemProperty name="jetty.home" default="." />/etc/keystore</Set>
        <Set name="password">OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4</Set>
        <Set name="keyPassword">OBF:1u2u1wml1z7s1z7a1wnl1u2g</Set>
        <Set name="truststore"><SystemProperty name="jetty.home" default="." />/etc/keystore</Set>
        <Set name="trustPassword">OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4</Set>
      </New>
    </Arg>
  </Call>
moldham
 
Posts: 1
Joined: Tue Jun 29, 2010 7:10 pm

Postby JanoLapin » Sun Feb 06, 2011 5:17 pm

So, have you succeeded?
JanoLapin
 
Posts: 11
Joined: Sun Jun 13, 2010 7:54 am

Re: Stanalone Player And Jetty SSL Settings For HTTPS

Postby BluesBoy » Mon Apr 11, 2011 9:45 pm

moldham wrote:I am trying to get SSL to work without using tomcat using the standalone installation.

Does anyone know which file would needed to be changed to add something like the following so that SSL will work with the standalone version?

Code: Select all
<Call name="addConnector">
    <Arg>
      <New class="org.mortbay.jetty.security.SslSocketConnector">
        <Set name="Port">8443</Set>
        <Set name="maxIdleTime">30000</Set>
        <Set name="keystore"><SystemProperty name="jetty.home" default="." />/etc/keystore</Set>
        <Set name="password">OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4</Set>
        <Set name="keyPassword">OBF:1u2u1wml1z7s1z7a1wnl1u2g</Set>
        <Set name="truststore"><SystemProperty name="jetty.home" default="." />/etc/keystore</Set>
        <Set name="trustPassword">OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4</Set>
      </New>
    </Arg>
  </Call>


I also would like to setup Subsonic to be secure. I am running Windows what steps have to be done in order to do this? Thanks for any help.
User avatar
BluesBoy
 
Posts: 21
Joined: Sat Apr 09, 2011 5:56 pm

Postby GJ51 » Wed Apr 13, 2011 3:25 pm

I'm solely a Windows guy, but all I had to do was open the Subsonic Control Panel from the tray icon, go to the settings tab, select the port # and check the Enable SSL box. Then go to the router and foreward the SSL designated port to the server.

Remember that you still use the http address to access over the internet and SS will convert the connection to https internally. You will also get a certificate warning when you caonnecxt that should just be ignored.
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York


Return to General

Who is online

Users browsing this forum: No registered users and 4 guests