Hi to all,
This is my first mail to this group. I am currently working
on an assignment in wihch "I have to attach digital signature certified
my certificate authority to a local site (e.g:
www.xyz.com) running on
my linux system.
Here my system should act as Certified Authority, Apache web
server and DNS server. I have sucessfully created a certificate by
executing the following commands.
# mkdir CA
# cd CA
# mkdir newcerts private
# echo '01' >serial
# touch index.txt
# openssl req -new -x509 -extensions v3_ca -keyout private/cakey.pem \
-out cacert.pem -days 365 -config ./openssl.cnf
# openssl req -new -nodes -out req.pem -config ./openssl.cnf
# openssl ca -out cert.pem -config ./openssl.cnf -infiles req.pem
During executing these commands I wrote my own configuration file
openssl.cnf.
This creates a certificate with name cert.pem.
The next step where I got stuck is to make my system a web
server (apache) and a DNS server. So that I can attach the certificate
to the site I have made the certificate for. For this there is need for
adding some directives to httpd.conf file i.e adding a virtual host. In
simple words "how to make my system a web server and a DNS server"
Any help regarding this will be appreciated.
regards,
WASEEM