<p>How do I create a self signed SSL certificate for an Apache Server to use while testing a web app?</p>

Use OpenSSL (
http://www.openssl.org/
)
Here's a tutorial:
http://novosial.org/openssl/self-signed/
Here is the good tutorial to start with:
SSH localhost
.