Quickly generate a self-signed certificate on the command line. Noting this information as the original source has disappeared and its handy to have around.
mkdir -p /etc/certs
openssl req -new \
-days 3650 \
-out "/etc/certs/EXAMPLE.COM.pem" \
-keyout "/etc/certs/EXAMPLE.COM.key" \
-batch -subj "/CN=EXAMPLE.COM"
# ensure that the files are readable
chmod o+r /etc/certs/EXAMPLE.COM.*
This post will quickly show you how to set up proxying with basic authentication using apache.
In my case I wanted to have transmission bit torrent client available over the internet so I could check on the state and adminster torrent downloads (such as the latest fedora release) as required. Transmission itself runs its web client on port 9091 by default. Rather than bother opening up more ports on my firewall and adding the nessecary port forwarding rules I decided I’d just proxy the calls through to transmission via apache using mod_proxy.
Continue reading 'Apache proxy with digest authentication'»