Manual Entry for SSL, It Fails from the WHM

November 27, 2006 / SSL

Add these Lines under httpd.conf file========================ServerAdmin [email protected] /home/securea/public_htmlBytesLog domlogs/secure.avmdvds.com-bytes_logServerName www.secure.avmdvds.comScriptAlias /cgi-bin/ /home/securea/public_html/cgi-bin/CustomLog /usr/local/apache/domlogs/secure.avmdvds.com-ssl_log “%t %{version}c %{cipher}c %{clientcert}c”User secureaGroup secureaSSLEnableSSLCertificateFile /usr/share/ssl/certs/secure.avmdvds.com.crtSSLCertificateKeyFile /usr/share/ssl/private/secure.avmdvds.com.keySSLLogFile /var/log/secure.avmdvds.comUserDir public_htmlSetEnvIf User-Agent “.*MSIE.*” nokeepalive ssl-unclean-shutdown======================== #service httpd stop#service…

Read More

Scripts for Empty var/log, empting var/log

November 27, 2006 / General Discussion

#!/bin/bash logpath=/var/logloglines=5000 for name in `ls $logpath`dotail -n $loglines $logpath/$name > /tmp/log.tempcp -f /tmp/log.temp $logpath/$namedonerm -f /tmp/log.temp /bin/sleep 3/usr/bin/killall -9 httpd/bin/rm -rf /usr/local/apache/logs/*/bin/sleep 5/etc/rc.d/init.d/httpd startssl

SSL – Revocation error, Revocation error

November 27, 2006 / SSL

SSL –cd /usr/share/ssl/CA/Go to the certificate issuer website (here as an example — comodo )wget http://instantssl.com/ssl-certificate-supp…yServicesCA.crtpico /usr/local/apache/conf/httpd.confAdd line –SSLCACertificateFile /usr/share/ssl/CA/ComodoSecurityServicesCA.crtIf its Freessl.com then look out for CA certificates at –http://www.freessl.com/chainedssl/chaineds…nstallcert.html