...
Code Block |
---|
certbot certonly --standalone |
Provide required information about your domain.
Required files will be located in /etc/letsencrypt/live/name_of_your_domain
.
Go to this folder and run the command below.
Code Block |
---|
openssl pkcs12 -export -in fullchain.pem -inkey privkey.pem -out keystore.p12 -name tomcat -CAfile chain.pem -caname root |
You will be asked to provide a password. Remember it as you will have to enter it in application.properties. The output file keystore.p12 is the file that has all the required information to set up SSL.
In application.properties enter this information:
Code Block |
---|
server.ssl.key-store="path to your keystore.p12 file" server.ssl.key-store-password="password to keystore.p12 file" |
Congratulations! You have set up an SSL certificate!
Debugging Debugging
In our application we have several different debugging paths depending on the docker environment and what you want to debug.
...