I have tried to generate server certificate for apache2 earlier....
I have noticed one error in apache server. Which means that Apache can't find the private key component of new SSL certificate. Now I want to remove the server certificate.
Command:
root@wiffyspot1:# /etc/init.d/apache2 restart
* Restarting web server apache2 Action 'start' failed.
I have check the Apache error log:
[error] Init: Private key not found
[Wed Aug 14 11:00:50 2013] [error] SSL Library Error: 218529960 error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag
[Wed Aug 14 11:00:50 2013] [error] SSL Library Error: 218640442 error:0D08303A:asn1 encoding routines:ASN1_TEMPLATE_NOEXP_D2I:nested asn1 error
[Wed Aug 14 11:00:50 2013] [error] SSL Library Error: 218529960 error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag
[Wed Aug 14 11:00:50 2013] [error] SSL Library Error: 218595386 error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error
[Wed Aug 14 11:00:50 2013] [error] SSL Library Error: 67710980 error:04093004:rsa routines:OLD_RSA_PRIV_DECODE:RSA lib
[Wed Aug 14 11:00:50 2013] [error] SSL Library Error: 218529960 error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag
[Wed Aug 14 11:00:50 2013] [error] SSL Library Error: 218595386 error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1
default-ssl
file inside/etc/apache2/sites-available