Creating a Self Signed Certificate is actually pretty easy, there are a number of web sites out there that you can use to create a certificate. I’m not going to post one cause it would be unsecure to have a 3rd party you don’t trust create a key and certificate file.
There is an excellent article on how to create a Self Signed Certificate at “How to create a self-signed SSL Certificate“. If you can go all the way through that without looking for a new page, you should be well versed in creating a Self Signed Certificate. I prefer the following command:
# openssl req -new -newkey rsa:1024 -days 365 -nodes -x509 -keyout server.key -out server.crt
It is going to ask you the following questions to generate the certificate:
Country Name (2 letter code) [GB]:US
State or Province Name (full name) [Berkshire]:Washington
Locality Name (eg, city) [Newbury]:Seattle
Organization Name (eg, company) [My Company Ltd]:8 Bit Pipe
Organizational Unit Name (eg, section) :Blog
Common Name (eg, your name or your server’s hostname) :www.8bitpipe.com
Email Address :email@example.com
Please note that the common name is the name of the domain you want to create the certificate for. Now all you have to do is move the certificate and key file to where you need them to be. I apologize if this is too short for you, but you are more than welcome to follow the instructions on other sites.