Monthly Archive for October, 2004

Generating Certificates for Apache

# openssl genrsa -des3 -rand file1:…:filen \
-out www.yourdomain.org.key 1024
# openssl rsa -in www.yourdomain.org.key -out www.yourdomain.org.key
# openssl req -new -key www.yourdomain.org.key \
-out www.yourdomain.org.csr -days $DAYS
# openssl req -x509 -key www.yourdomain.org.key \
-in www.yourdomain.org.csr -out www.yourdomain.org.crt -days $DAYS

How to get Webserver Version

# printf “HEAD / HTTP/1.0\n\n” | nc $server 80 | grep Server

Reread the Mysql Privileges

flush privileges;

remove linefeeds

use vi!

:set ff=unix
:wq

or

# tr -d '\r'



Too Cool for Internet Explorer