Archive

Archive for the ‘Server’ Category

openssl – how to disable passphrase prompt on apache2 restart

November 30, 2010 15 comments

Whenever apache2 restart and you have to manualy Enter the pass phrase of your ssl key.

To automatically start/restart apache2 without the prompt dialog, you can either store the passphrase in a secure folder or remove the password.

OPTION 1. store passphrase:

from your ssl.conf under /etc/apache2/mods-enabled/ssl.conf

SSLPassPhraseDialog  exec:/securepath/to/passphrase-file

then create passphrase-file and type

#!/bin/sh
echo "passphrase"

save file then make it executable

# chmod +x /passphrase-file

http://www.linuxquestions.org/questions/linux-server-73/apache-requires-ssl-passphrase-671559/

OPTION 2. Remove password:

# openssl rsa -in website.com.key -out website.com.key.nopass

then from update the location of your key file in your apache2 virtual hosts.

http://chrisschuld.com/2008/08/removing-the-password-on-an-apache-ssl-certificate/

 

install vmware server on windows server 2008 domain controller

August 18, 2010 16 comments

Installing VMware Server 2 on a Windows Server 2008 SBS throws out a warning if the Windows Server is set as domain controller.

Warning 25008: It is recommended that you don't install this product on a domain controller.

After google-ing for explainations, i found on vmware knowledge base docs that we would ignore it and go on with installations. Bad idea.

Everything was working fine until we had to restart SBS server and everything started to fall over.

VMware server installs a VMware DHCP service and SBS primary physical network card couldn’t have a gateway assigned automatically. The VM ethernet card took over as dhcp and assigned its own default virtual gateway

Solution: disable vmware dhcp service from the administrative tools and everything was back to normal. It cannot be disabled from the VMware Manage Virtual Networks tool.