diff --git a/Setting-up-SSL-on-wordpress-container.md b/Setting-up-SSL-on-wordpress-container.md new file mode 100644 index 0000000..c7b3691 --- /dev/null +++ b/Setting-up-SSL-on-wordpress-container.md @@ -0,0 +1,23 @@ + +### Execute a shell on the container + +``` +docker exec -ti wordpress /bin/bash +``` + +### Add backports repo + +``` +cat >> /etc/apt/sources.list << EOF +deb http://ftp.debian.org/debian jessie-backports main +EOF +``` + +### Install certbot + +``` +apt update +apt-get install python-certbot-apache -t jessie-backports +``` + + certbot run -d ellak.org -d www.ellak.org \ No newline at end of file