Page 1 of 1

Stanalone Player And Jetty SSL Settings For HTTPS

PostPosted: Tue Jun 29, 2010 7:13 pm
by moldham
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>

PostPosted: Sun Feb 06, 2011 5:17 pm
by JanoLapin
So, have you succeeded?

Re: Stanalone Player And Jetty SSL Settings For HTTPS

PostPosted: Mon Apr 11, 2011 9:45 pm
by BluesBoy
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.

PostPosted: Wed Apr 13, 2011 3:25 pm
by GJ51
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.