How can i create cert thats expires after 365 days with apache2-ssl-certificate ? when i create with apache2-ssl-certificate cert expires after 1 month.
Don't know apache2-ssl-certificate, but doesn't it ask you about the cert's lifetime? If not just create it by hand.
This may help you with creating a Self Signed Cert manually: http://www.5dollarwhitebox.org/wiki/index.php/Howtos_Self_Signed_SSL_Certificates
ok tnx for that. but i am interested in this apache-ssl script. does anyone know how to extend expiry date with this cript.
AFAIK apache-ssl is an alternative Apache package (only for SSL) that doesn't need to be installed if you have configured the "normal" Apache package for SSL.
apache-ssl is very easy script , just type some info like common name , contry and voilla there is a cert