Setting up Spring Boot with Lets Encrypt SSL
1 min readJul 2, 2020

Install Certbot
If you are using RHEL on EC2, you can enable the optional channel by running:
$ yum -y install yum-utils
$ yum-config-manager --enable rhui-REGION-rhel-server-extras rhui-REGION-rhel-server-optional
After doing this, you can install Certbot by running:
$ sudo yum install certbot
sudo certbot certonly -d domain_name_here_com
sudo cat /etc/letsencrypt/domain_name_here_com/*.pem > ~/fullcert.pem
openssl pkcs12 -export -out domain_name_here_com.pkcs12 -in fullchain.pem
server:
port: 443
ssl:
enabled: true
key-alias: integral
key-store: classpath:your domain_name_here_com.pkcs12
key-store-password: yourPasswordHere
key-password: yourPasswordHere
key-store-type: PKCS12