Author name: Manuel Bogner

SSL certificates for apache

Simple way to create self-signed SSL certificates. #!/bin/bash # usage: ./create-ca.sh if [ -e ca.key ]; then echo “ca.key already exists” exit 1 fi openssl genrsa -out ca.key 4096 openssl req -new -x509 -days 3650 -key ca.key -out ca.crt \ -subj “/C=AT/ST=Vienna/L=Vienna/O=coffeebeans.at/OU=IT/CN=coffeebeans.at/emailAddress=office@coffeebeans.at” #!/bin/bash # usage: ./create-key.sh CN NAME=$1 SERIAL=`ls -l *.key | wc -l` if […]

SSL certificates for apache Read More »

Ubuntu: Docker behind proxy

sudo mkdir /etc/systemd/system/docker.service.d cat /etc/systemd/system/docker.service.d/http-proxy.conf [Service] Environment=”HTTP_PROXY=http://proxy-address:8080/” Environment=”HTTPS_PROXY=http://proxy-address:8080/” Environment=”NO_PROXY=localhost,127.0.0.1,.localdomain” sudo systemctl daemon-reload sudo systemctl restart docker  

Ubuntu: Docker behind proxy Read More »