So I was going along compiling IMAP, PHP, Apache, etc.. and start Apache up with SSL enabled and everytime I try to go to an SSL page I see this in the error log:
[Sat Apr 15 22:21:42 2006] [error] OpenSSL: error:1408F455:SSL routines:SSL3_GET_RECORD:decryption failed or bad record mac
To make a long story short, it appears there is a bug in the Sun Studio 11 compilers when compiling OpenSSL. If you are on Solaris x86, you need to have patch 120759-04 installed to fix this problem. (The problem will also show up if you do a make test, you will get an error on the test_evp). For Solaris on Sparc the Patch is 120760-03. Now if it off to recompile all the software again. At least I have gotten everything in 32 bit mode now.
