Page 1 of 1

Migrated to Windows Server. Help with HTTPs.

PostPosted: Mon Apr 23, 2018 12:09 am
by hogfan
I recently had to migrate my Subsonic server onto a Windows 10 machine. I'm up and running and have my media sources pointed to my Linux server SMB shares via the UNC paths. Subsonic is running under it's own local service account on the Windows 10 machine. The problem I am now trying to solve is that I can't seem to get HTTPs working. I was using a self-signed SSL cert previously on my Ubuntu Linux server and was able to connect via https with mobile apps, etc. Now on Windows I am unable to even connect to the server via a browser if I enable HTTPs. Does anybody have a good guide, or can tell me how to get https working on Subsonic hosted on Windows? I tried installing a certificate from SSL for Free but did not have much luck there. Is there a better free SSL cert to install? I do not have the option to stay with my current install on the Linux server as that machine is being repurposed. Any help is appreciated.

Re: Migrated to Windows Server. Help with HTTPs.

PostPosted: Wed Apr 25, 2018 8:24 pm
by Trufax
you have to work with the java Keytool.

I use an LetsEncrypt certificate which have to be renewd every three month.

Iam working on a automated solution but did not have the time yet so i do it manually (dont like to use IIS).

Here is a good guide for windows: viewtopic.php?f=6&t=10747 with the Keytool

If you want to use IIS: viewtopic.php?f=6&t=17464

If you have any question fell free to ask

Re: Migrated to Windows Server. Help with HTTPs.

PostPosted: Wed Aug 15, 2018 10:33 pm
by hogfan
Thanks for the info. I ended up getting a PostiiveSSL cert for like $10 from Namecheap. I went ahead and go the 2 year cert. Got it issued and installed into the subsonic-booter Jar. Issue now is my certificate still shows as invalid. Upon inspection looks to be an issue with "Key Usage" & "Basic Constraints" on the cert. I used OpenSSL to generate the CSR so I think it's some OpenSSL settings I need to change. Everything else on the cert seems to check out.

Re: Migrated to Windows Server. Help with HTTPs.

PostPosted: Sun Aug 26, 2018 10:35 am
by 3Dscrewer
Do you have WEB Services at your Linux Machine?
In that case it seems impossible to get this work. I have Ubuntu 16.04 LTS with Nextcloud (HTTPS) running and subsonic at the Windows 10 Pro, to get access I have always to add the Port to the subdomain like this subsonic.XXXXXXX.de:4040