Category: Apache

Generate a self-signed certificate

By , Monday 20th May 2013 9:21 am

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 \
            -x509 \
            -days 3650 \
            -nodes \
            -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.*

Apache proxy with digest authentication

By , Sunday 27th March 2011 12:57 pm

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'»

Panorama Theme by Themocracy

1 visitors online now
0 guests, 1 bots, 0 members
Max visitors today: 16 at 08:14 am UTC
This month: 17 at 19-09-2017 09:35 pm UTC
This year: 45 at 02-01-2017 10:28 pm UTC
All time: 130 at 28-03-2011 10:40 pm UTC