Software runs my life

Category: Microsoft Page 2 of 10

Exchange 2007 certificate migration

Exchange 2007 uses SSL certificates extensively across the IMAP, POP, IMAP, UM and IIS services. I assumed that adding an SSL certificate to one of the Domain Controllers would propogate that certificate across all the controllers. I guess it makes sense that I was wrong, SSL certificates aren’t something you want spread or activated widely. If you do need to move or copy the certificate across servers though, it is a simple 3 step process in the Exchange shell:

1) Export the certificate from the original server:

Export-ExchangeCertificate -Thumbprint 5113ae0233a72fccb75b1d0198628675333d010e -BinaryEncoded:$true -Path c:\certificates\export.pfx -Password:(Get-Credential).password

http://technet.microsoft.com/en-us/library/aa996305.aspx

2) Import the certificate into the new server:

Import-ExchangeCertificate -Path c:\certificates\export.pfx -Password:(Get-Credential).password

http://technet.microsoft.com/en-us/library/bb124424.aspx

3) Enable the new certificate:

Enable-ExchangeCertificate -Thumbprint 5113ae0233a72fccb75b1d0198628675333d010e -Services “POP, IMAP”

 http://technet.microsoft.com/en-us/library/aa997231.aspx

Done! 🙂

PHP Frameworks not displaying error 500 remotely

I found when using Kohana in FastCGI mode that I was getting error 500 messages without the usual stack trace or error message. This was only happening when I accessed the development server remotely, not when I ran it locally (i.e. http://localhost/). Turns out this is actually the default behaviour for IIS7 with FastCGI. To change this you simply run the following command:

%windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/httpErrors -errorMode:Detailed

All fixed! If you want to change it back when you put the server into production then change the errorMode to “DetailedLocalOnly”.

Microsoft Interview

Steve Ballmer

Steve Ballmer

Sometimes people ask me, why do I like Microsoft so much? Most people think it is because of Steve Ballmer, but that is only part of the reason. Really I have loved Microsoft since early in my university days. I even have some content dedicated to myself on the Microsoft.com domain! Wow what a fanboi.

In fact I don’t love Microsoft, I just respect them. Look at the number of markets they are in. Look at how fiercely they fight in those markets. You fear Google will outsmart you if they enter your market, but you fear Microsoft will destroy you by any means necessary. Are they overly ruthless? Even unethical?

Personally I don’t think so, I think they are not afraid of competing and competing hard. Their haters might say their staff are “injected with blue blood”, but wouldn’t you like your company culture to be that strong? Wouldn’t you like to get market dominance, even if it means trench fighting your competitors? What’s so wrong with wanting to be the best? Surely this isn’t just my ego talking. 🙂

Page 2 of 10

Powered by WordPress & Theme by Anders Norén