This solution uses Docker and docker-compose to automate getting the SSL certifications for your website with Let's Encrypt.
Ok, let's get started.
Clone the repo with the automation scripts
git clone https://github.com/gasparandr/letsencrypt-docker.git
init script with your base domain name (e.g. example.com)
testrun to make sure your configurations are correct (provide all your target domains)
./testrun.sh example.com www.example.com api.example.com blog.example.com
Insert your own email into the
liverun script to get notified if your certificates are about the expire
You can use nano, vim, or any other editor to make this change.
change this line of code with your own email:
--email firstname.lastname@example.org --agree-tos --no-eff-email \
liverun with all your target domains as arguments
./liverun.sh example.com www.example.com api.example.com blog.example.com
BOOM. That's it.
BONUS: Get information about your certificates using the
BONUS: You can automate your cert renewal by executing the
BONUS: Execute the
dhparam script to generate your dhparam.pem
You can find your certs here:
Check out my wife's FREE UI designs at uidesigndaily.com