#!/usr/bin/env bash # set up dehydrated for let's encrypt certs # # this is known to work on Slackware, and might on FreeBSD # # I took and distilled AlienBob's blog about it, and the result is this script: # https://alien.slackbook.org/blog/using-letsencrypt-to-secure-your-slackware-webserver-with-https/ # # --Joey Kelly cd /etc/dehydrated/ mkdir accounts certs chains var chown oogabooga:wheel accounts certs chains var mkdir -p /var/www/dehydrated/ chown oogabooga:wheel /var/www/dehydrated/ echo 'Include /etc/httpd/ap24dehydrated.conf' >> /etc/httpd/httpd.conf apachectl restart