# Your SSL key and certificate and key must be concatenated into a single file.
# The order is important: key then certificate.
# For the default snakeoil certificate referenced in the example configuration above:
apt-get install ssl-cert
make-ssl-cert generate-default-snakeoil --force-overwrite
cd /etc/ssl
cat private/ssl-cert-snakeoil.key certs/ssl-cert-snakeoil.pem > snakeoil.pem