Setting up SSL with Custom Port

Need help? Post your questions here.

Moderator: moderators

Setting up SSL with Custom Port

Postby bzowk » Mon Oct 13, 2014 9:53 pm

Hey Guys -

I just set up Subsonic on a fairly new installation of Windows 8.1 x64. I already host a few things on this server - including one on the default 443 port.

Steps Used to Add Personal SSL to Subsonic (via this post: viewtopic.php?f=6&t=10747&p=48871&hilit=ssl#p48871)
Code: Select all
1. Create a free (or bought)Certificate at Startssl.com. Save the .key-file and .cert-file to a folder, I use C:\SSL\. Creating the certificate includes a lot of steps but Startssl guides you through it all.
2. In the Control Panel at Startsssl you go to the Tool Box. Use the option "Create PKCS#12 (PFX) File", create the certificate with your key and cert-file. Save the cert to C:\SSL\cert.p12.
3. If you use JRE6 for your java you start a command prompt and go to "C:\Program Files\Java\jre6\bin". Type "keytool -importkeystore -srckeystore C:\SSL\cert.p12 -srcstoretype PKCS12 -destkeystore C:\SSL\subsonic.keystore".
4. Stop Subsonic service. Got to Program Files/Subsonic, open subsonic-service.exe.vmoptions in notepad.
Add these lines to the end of the file....
-Dsubsonic.ssl.keystore=C:\SSL\subsonic.keystore
-Dsubsonic.ssl.password=yourcertpasswordsetinstep3
Save file. Start subsonic service.

After bringing the service back up, I tried browsing to Subsonic via HTTPS on 443, 4443, & 4040 without luck. I can still browse to it via 4040, though HTTP. I'm not certain, but perhaps it's due to a port conflict as I already have something running on 443 which is difficult to stop. Perhaps there are also steps other than the ones listed which I needed to do, to. I was trying to connect from the localhost - not an external one so it's not a firewall issue.

Any ideas on what I may have missed - or if you believe it's a port conflict - how to change the SSL port Subsonic uses?

Thanks!
bzowk
 
Posts: 3
Joined: Mon Oct 13, 2014 9:16 pm

Return to Help

Who is online

Users browsing this forum: No registered users and 18 guests