[CentOS] Self-signed certificates

Mon Jan 23 20:30:40 UTC 2006
Thomas E Dukes <edukes at alltel.net>

Hello,

I am trying to create a self-signed certificate for a sub-domain.  Creating
the certificate is not the problem.  I used cacert.org to complete it.  When
I made the certificate, it was for the sub-domain but the certificate for
the top-level domain is the certificate that appears.  In the <VirtualHost>
section for the sub-domain, I have pointed to the sub-domain key:
SSLCertificateKeyFile /etc/httpd/conf/ssl.key/subdomain.key.

This is how I made the key:  openssl req -nodes -keyout private.key -out
subdomain.key

Any help would be greatly appreciated.