Migrated to Windows Server. Help with HTTPs.

General discussions.

Moderator: moderators

Migrated to Windows Server. Help with HTTPs.

Postby hogfan » Mon Apr 23, 2018 12:09 am

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.
Image
Image
hogfan
 
Posts: 30
Joined: Tue Jan 25, 2011 2:31 am
Location: Little Rock, AR

Re: Migrated to Windows Server. Help with HTTPs.

Postby Trufax » Wed Apr 25, 2018 8:24 pm

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
Trufax
 
Posts: 21
Joined: Tue Dec 06, 2011 8:32 pm

Re: Migrated to Windows Server. Help with HTTPs.

Postby hogfan » Wed Aug 15, 2018 10:33 pm

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.
Image
Image
hogfan
 
Posts: 30
Joined: Tue Jan 25, 2011 2:31 am
Location: Little Rock, AR

Re: Migrated to Windows Server. Help with HTTPs.

Postby 3Dscrewer » Sun Aug 26, 2018 10:35 am

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
3Dscrewer
 
Posts: 197
Joined: Tue Feb 13, 2018 1:11 pm


Return to General

Who is online

Users browsing this forum: No registered users and 12 guests