Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I lost my mod_ssl on my debian machine. How can I get it back.

I accidently removed it from mods_available instead of mods_enable, and as it was a symlink I lost the file. Is it possible to get this back without ruining the configurations of apache?

Is there any libapache2-mod I can reinstall, in case please include how I remove + reinstall it.

Thanks.

share|improve this question
    
Restore a backup or a part from it? –  Lucas Kauffman Mar 15 '12 at 9:14

1 Answer 1

up vote 1 down vote accepted
 <IfModule mod_ssl.c>

   SSLRandomSeed startup builtin
   SSLRandomSeed startup file:/dev/urandom 512
   SSLRandomSeed connect builtin
   SSLRandomSeed connect file:/dev/urandom 512

   AddType application/x-x509-ca-cert .crt
   AddType application/x-pkcs7-crl    .crl

   SSLPassPhraseDialog  builtin

   #SSLSessionCache         dbm:/var/run/apache2/ssl_scache
   SSLSessionCache        shmcb:/var/run/apache2/ssl_scache(512000)
   SSLSessionCacheTimeout  300

   SSLMutex  file:/var/run/apache2/ssl_mutex
   SSLCipherSuite HIGH:MEDIUM:!ADH
   #SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
   SSLProtocol all -SSLv2

</IfModule>

This should be Debian 6.0 like ssl.conf in /etc/apache2/mods-available

 LoadModule ssl_module /usr/lib/apache2/modules/mod_ssl.so

This should be Debian 6.0 like ssl.load in /etc/apache2/mods-available

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.