Month: March 2014

Remove the passphrase from the certificate.

I installed a certificate for apache to enable SSL on a website. To create the CSR for the authority it asks for a passphrase. When you install the certificate and restart the httpd service it asks for the passphrase, so it needs to be removed from the private key.     To do this use…


Hitman Pro and Combofix

I”ve fixed a lot of computers and laptops now with a couple of really great programs. I found one of them by word of mouth. It”s called Hitman Pro and I highly recommend it. You can download the program for free and run a 1 time scan. It doesn”t take long to scan your system…


Installing TLS for Sendmail on FreeBSD

Installing TLS on sendmail Freebsd  – cd /usr/ports/security/cyrus-sasl2-saslauthd && make install echo ‘saslauthd_enable=”YES”‘ >> /etc/rc.conf Start the saslauthd – /usr/local/etc/rc.d/saslauthd.sh start Changing sendmail build options – vi /etc/make.conf #Add the following – # SASL (cyrus-sasl v2) sendmail build flags… SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2 SENDMAIL_LDFLAGS=-L/usr/local/lib SENDMAIL_LDADD=-lsasl2 # Adding to enable alternate port (smtps) for sendmail… SENDMAIL_CFLAGS+= -D_FFR_SMTP_SSL  …


WDS Deployment

Here are my notes for deplying Windows 7 machines through Server 2008 Windows Deployment Service. Firstly we need a reference machine. Insert your Windows 7 media into a reference machine and install windows as normal. When you get to the point where it asks you for the computer name, this is the point where you…


Vi – Useful tricks

I use vi a lot on nix machines and there’s a lot of useful tricks you can do to edit files.   A good trick to get rid of those annoying ^M characters from a dos file is –   :%s/(ctrl-v)(ctrl-m)//g   So you want to type :%s/  and then ctrl & v and without…