Category: MISC

  • Redirect Subdomain to Root Domain in Apache

    One key aspect of setting up a website that is search engine friendly is redirecting your subdomain (www.example.com) to your root domain (example.com) or vise versa. The reason you must do this, is because search engines see each domain as a separate site. If two sites have duplicate content you could be penalized in the…

  • How-to: Fix SSH Session Timeouts on Mac OSX Mountain Lion.

    Recently, we got an upgrade with Comcast that included phone service (does anyone still use land lines at home besides my grandmother?), and increased bandwidth. Increased bandwidth seemed great to me and I could just not use the phone, plus my monthly bill is somehow cheaper this way. Not sure who comcast has working in…

  • How-to: Create a PFX Certificate Bundle.

    A lot of platforms use what are called PFX bundles when dealing with SSL certificates. The cool thing about PFX bundles is that it keeps everything the SSL connection needs certificate wise in one tidy file. I recently had the pleasurable experience of having to create about 30 of these bundles, so I will share…

  • How-to: Treesize script for linux.

    This is a simple Treesize Script for Linux. I take no credit for this script. I found it on the internet but it works very well so I am putting it here so I don’t loose it. Feel free to distribute. If you are the arthor of this script contact me and I will gladly…

  • How to convert a SSL certificate into PIM format.

    Sometimes depending on the application you need to convert your SSL certificate to a different format namely the PIM format. To convert your certificate to PIM format run the following command: openssl pkcs12 -export -inkey /etc/pki/tls/private/ www.domain.com.key -in www.domain.com.cer -out www.domain.com.p12 Happy SSL’ing.

  • Generate a CSR using Subject Alternative Names on RHEL / CentOS 5.6

    This how-to has to deal with SSL and something called Subject Alternative Names. When a normal SSL certificate is generated its usually for one host for example https://www.domain.com. The problem with this is that you cannot use the same certificate for say ftps://ftp.domain.com. The mismatch between the hostnames ‘www’ vs ‘ftp’ would cause issues validating…