Docker Private Registry

Host your a bare bones Docker Repository on Ubuntu (16.04) with SSL and user authentication. Install docker Follow instructions on https://docs.docker.com/install/linux/docker-ce/ubuntu/ Make sure to add current user to the docker group.  Assuming this you are using this server just to host the docker private registry, create everything under the user’s Read more…

LetsEncrypt on Docker container

Install docker 🙂 Create folder Create a subfolder called “letsencrypt” to store your keys. Run certbot on Docker docker run -v ${pwd}/letsencrypt:/etc/letsencrypt -it certbot/certbot certonly –manual –preferred-challenges dns Important: On MacOS make sure to use ${PWD} instead of ${pwd} Saving debug log to /var/log/letsencrypt/letsencrypt.log Plugins selected: Authenticator manual, Installer None Read more…

HTTPS on the cheap

HTTPS using Let’s Encrypt and NGINX on Ubuntu 16.04 LTS. In this instructions we will assume your web site is going to be hosted at www.site.com.  Install certbot Add certbot repo/key: sudo apt-get install software-properties-common sudo add-apt-repository ppa:certbot/certbot Install certbot: sudo apt-get update sudo apt-get install python-certbot-nginx Install nginx: sudo Read more…