Is a tiny HTTP-server, that supports file uploading and have user-friendly interface to access to GET and POST parameters and uploaded files
- Obtain certificates with acme.sh (available here: https://github.com/Neilpang/acme.sh)
- Go to <home_folder>/.acme.sh/<your_domain>
- Run this:
openssl pkcs12 -export -in fullchain.cer -inkey <your_domain>.key -out keystore.p12 -name tomcat -CAfile ca.cer -caname root
- Enter password for keystore
- Set path to created keystore.p12 and keystore password to setJKSKey method:
ServerSettings serverSettings = ServerSettings.createDefaultConfig();
serverSettings.setJKSKey("/home/user/.acme.sh/example.com/keystore.p12", "storepass")