Posted by Paul Kehrer on January 16, 2010
I got tired of the performance issues I was having so I’ve migrated my blog to a Slicehost slice (512MB). Hopefully nothing is broken, but if you notice something let me know. Everything should load more quickly and consistently going forward!
Posted by Paul Kehrer on January 12, 2010
To make up for posting that downer of a TSA article how about some photos from the day I spent in Jasper National Park? Click any image to go to the Flickr page and see it in larger sizes. Or you could just view the entire set!
A Cold Canoe Ride

Big Horn Sheep

Ice Columns

Posted by Paul Kehrer on January 11, 2010
Having just returned from a trip to Canada I have now experienced the new TSA security theater for flights inbound to the US from abroad. Hopefully your own experience will not mirror mine, but if these restrictions stay in place this post could be helpful to some.
At check-in we discovered that the TSA will allow outbound flights to take backpacks and carry-ons, but when coming back into the country you must check them. In my case I was required to check both my backpack and my suitcase. This incurred a $20 charge for something I was forced to do, but the agent “generously” allowed me to check my backpack for free. Since that backpack was explicitly designed to hold only my laptop and camera equipment I had to pick a lens, attach it to my camera body, grab my (bare) laptop, and hope the rest of my equipment wasn’t damaged.
Once we dropped off our bags we entered the actual screening line. The staff there announced that each passenger would have their personal effects individually inspected and then they would undergo a body search. My agent searched through the belongings I had left (cell phone, keys, belt, shoes, wallet, coat, camera, and laptop) relatively thoroughly. She even looked through my wallet. I was informed that the new rules do allow laptop bags as long as they contain nothing but laptop-related equipment, as well as camera bags with the same restriction. Of course, you can’t carry two bags on so that doesn’t help people who need both.
After this I was supposed to receive a pat down search, but since every screener was busy the agent used an alternate method. She instructed me to rub my hands in my pockets and then hold my palms out face up so she could rub a tissue on my hands to check for bomb residue. Once cleared I was allowed to gather my things and proceed to the gate.
On the plane the lack of a case for my camera or laptop became more of an issue. Both overhead and under the seat are difficult locations when your equipment has no protection, but eventually my items were stowed. We were seated in the second to last row of the plane, which became the last when the flight attendants requested that those behind us move to different seats further up. The rationale given for emptying the final row was to help prevent the congregation of people near the lavatory and this rule was strictly enforced. We were also told that we would be required to put away all electronic devices and remain buckled in and seated for the final hour of our flight into Chicago. Anything that could obstruct the lap (such as a coat, blanket, or pillow) had to be stowed overhead or underneath the seat.
Our flight completed without incident, but these new restrictions aren’t making me feel safer — they’re becoming real obstacles to using air travel.
Posted by Paul Kehrer on January 11, 2010
Having realized that I haven’t looked at WordPress theme development in nearly a year, I decided to search around and ended up switching over to Mystique. The theme offers a wealth of features and even obsoletes some plugins and widgets I was previously using. I’m not sure if I’ll stick with it long-term but it’s certainly a very polished product. Fidgetr may need a few upgrades to keep up with the times… Let me know in the comments if you spot anything broken!
I’ve put quite a few custom CSS tweaks in already, some of which I’ve listed below. Others who use the Mystique theme may find these changes helpful.
- To hide the websnapr feature add “.webshot{display:none !important;}” to the user CSS section.
- Fidgetr’s comment display depends on sidebar overflow so I added “#sidebar {overflow:visible;}” as well. Secondary sidebar overflow would need #sidebar2
Posted by Paul Kehrer on January 10, 2010
Short and sweet. This command will give you a list of revoked serial numbers:
openssl crl -inform DER -text -noout -in mycrl.crl
Most CRLs are DER encoded, but you can use -inform PEM if your CRL is not binary. If you’re unsure if it is DER or PEM open it with a text editor. If you see —–BEGIN X509 CRL—– then it’s PEM and if you see strange binary-looking garbage characters it’s DER.
Posted by Paul Kehrer on January 3, 2010
As internationalized domain names (IDN) proliferate more people need to test with, and ultimately purchase, IDN certificates. If you need to generate a CSR or even a self-signed certificate for an internationalized domain follow these steps:
- Take the UTF-8 characters and paste them into a punycode converter (also known as ASCII compatible encoding, or ACE).
- The resulting converted text will be a fairly long string that starts with “xn--”. Copy the entire thing.
- Now run this command.
For CSR generation:
openssl req -new -nodes -out mycsr.csr -keyout mykey.pem -newkey rsa:2048
For self-signed certificate generation:
openssl req -new -nodes -x509 -days 3650 -out mycert.cer -keyout mykey.pem -newkey rsa:2048
Either way, follow the prompts and when you reach Common Name paste the text you copied from the punycode converter. Now you can submit your CSR to a certification authority or install the self-signed certificate for testing.