[HOWTO] Digital Signing and Encrypting for Personal Use

Digital signing and encryption has been used to authenticate emails in many corporate environment to prevent spoofing. Here’s a simple guide to create a digital signature, import them and use them for personal use. My current choice of personal certificate is issued by Thawte. Thawte’s root certificate has been installed on most computer; therefore the recipient do not need to install custom root certificate to confirm the authenticity.

The first thing that needs to be done is obtaining digital certificate. Thawte’s personal digital certificate can be obtained here. After registration and verification, you can create your own certificate. The default options will allow both digital signing and encryption. Thawte also allows you to create multiple certificate for multiple accounts. Download, import and usage instructions available after the jump. Read the rest of this entry »

Tags: , , , , , , , , ,

[HOWTO] Triple Boot Mac OS X, Ubuntu and Windows XP on MacBook Pro Core 2 Duo (Part 3)

Out of the three parts, this is the part where I stumble upon the most “unexpected” issues. First of all, Live CD does not work on my 2nd-gen Macbook Pro (MBP). There seems to be some problem with the ATI drivers on the Live CD that prevents X from starting up. I have to use the Alternate CD with the text-based-installer. Also, GRUB will not install. Fortunately LILO will be offered and it installs just fine. Finally X will not work after the reboot and you need to install some drivers before it will work.

Read the rest of this entry »

Tags: , , , , , , ,

[HOWTO] Sub Class C Subnet Reverse DNS – Bind9

Having your ISP delegating the reverse DNS maybe a YMMV scenario. Some will allow you and others will not. If your ISP does allow you to host your own reverse DNS you have to create a zone file for the reverse DNS entry. This is a very easy thing to do if you have a class C subnet, but anything smaller than that or with different IP ranges, it gets complicated. Here’s what they usually have to do on their end, and what you need to do on your end.

ISP end
assuming the class C is 216.237.21.0/24 and the subnet you own is 216.237.21.64/26):
21.237.216.in-addr.arpa [SOA Entries]
21.237.216.in-addr.arpa [NS Servers]

;someone else's entry
$GENERATE 1-63 $ IN PTR 216-237-21-$.orng.nextweb.net.

;start of your entry
64-127 IN NS ns1.mydomain.net.
64-127 IN NS ns2.mydomain.net.
$GENERATE 64-127 $ CNAME $.64-127

;someone else's entry
$GENERATE 128-255 $ IN PTR 216-237-21-$.orng.nextweb.net.

Client Side
Create the following zone “64-255.21.237.216.in-addr.arpa” with the following entry:
Read the rest of this entry »

Tags: , ,

[SOLVED] WPG2, NextGEN Gallery & 1and1.com Unzip Utility

I am working on my friend’s site yesterday. She wants to have a photo gallery and wordpress. I checked out Gallery2 and found that there’s a wordpress plugin for it. I installed both (including imagemagick to use with Gallery2) and added the WPG2 plugin. While trying to activate WPG2 on WordPress I kept on getting the message “Plugin could not be activated because it triggered a fatal error”. I have made sure that I followed the instruction on the readme.txt to the dots, but nothing still comes up.

Therefore I try another plugin called NextGEN Gallery. Everything works great except for the slideshow. Once again I’m stumped on what’s the problem.
When I look at the HTML code, the slideshow code is trying to read a file called “nggextractXML.php”. I try to type in the URL and gets a 404 message. I thought that it was a bug, but I found out that on the server it was listed as “nggextractxml.php”. I download the file to a Windows machine and unzip it using WinRAR. The file name is correct with the upper case.

At that moment, I realized that the problem lies with 1and1.com unzip utility. I have been using the “unzip” command from the CLI and it has always been extracting using the -C option. To solve this I create a “.bash_profile” file under my home directory and added the following line:

alias unzip='/usr/bin/unzip'

If you’re having the same problem as I do, you can either create the file by using the instruction above or run the following command from the SSH:

echo "alias unzip='/usr/bin/unzip'" >> ~/.bash_profile

Or, you could just also download, unzip and upload the Bash Profile

Tags: , , , , ,