Link from where most of this info came from
Here is a simple tutorial to use Letsencrypt SSL Certs with Subsonic. This is on a Debian Server
keytool complains if your openssl export password is empty. Additionally, Subsonic expects your keystore password to be subsonic.
To the questions asked, subsonic for each i.e.:
Enter Export Password: subsonic
Verifying - Enter Export Password: subsonic
Enter destination keystore password: subsonic
Re-enter new password: subsonic
Enter source keystore password: subsonic
Here's the steps, after you got Certbot installed and your certificate issued:
cd /etc/letsencrypt/live/<domain_name>
cat privkey.pem > subsonic.crt
cat cert.pem >> subsonic.crt
cat chain.pem >> subsonic.crt
openssl pkcs12 -in subsonic.crt -export -out subsonic.pkcs12
keytool -importkeystore -srckeystore subsonic.pkcs12 -destkeystore subsonic.keystore -srcstoretype PKCS12 -srcalias 1 -destalias subsonic
zip /usr/share/subsonic/subsonic-booter-jar-with-dependencies.jar subsonic.keystore
Tell Subsonic to listen for HTTPS, edit /etc/default/subsonic
SUBSONIC_ARGS="--max-memory=512 --context-path=/subsonic --port=8080 --https-port=8443"
Restart subsonic
service subsonic restart
I followed these instructions, but am still getting the subsonic certificate instead of the letsencrypt one.
I also get a warning after the keytool command: