Page 1 of 1
https connection refused

Posted:
Tue May 19, 2020 11:34 am
by gogogo
Hello.
I have set SSL port that is refused:
SUBSONIC_ARGS="--port=4040 --https-port=4444 --max-memory=200"
SUBSONIC_ARGS="--max-memory=150"
The port 4040 answer correctly , 4444 not, firewall rule is ok. Subsonic service restarted.. no way don't works...
no log error in var/subsonic/log
Re: https connection refused

Posted:
Tue May 19, 2020 8:14 pm
by 3Dscrewer
Imho you can use only one port.
You can redirect the port in your server configuration, even if SSL to the http port.
Re: https connection refused

Posted:
Wed May 20, 2020 9:18 am
by gogogo
really thank you for support.
also if i set only :
SUBSONIC_ARGS="--https-port=4040 --max-memory=200"
i can't reach the server over https.
ERR_SSL_PROTOCOL_ERROR
Re: https connection refused

Posted:
Wed May 20, 2020 1:57 pm
by 3Dscrewer
Hmmm, so lets start over, what OS, are you using a server like apache or nginx? What version you are running the WAR with Tomcat?
There are so much different faults belonging how you have done the setup ...
and last and not least, have you read this?
Note that Subsonic uses a self-signed https certificate by default. This provides encryption but not proper authentication. To use your own certificate you must put it in a Java keystore, then specify the following Java system properties: subsonic.ssl.keystore (path to an alternate SSL keystore), and subsonic.ssl.password (password of the alternate SSL keystore). On Windows, you can set these system properties in C:\Program Files (x86)\Subsonic\subsonic-service.exe.vmoptions. On Mac, you can add them to /Applications/Subsonic.app/Contents/Info.plist.