Motorola doesn't provide any way to install new root certificates for Java (despite there being an interface to install them for SSL) and the only root certificates installed other than their own is the lucrative "Java Verified" monopoly certificate.

Fortunately it is possible to insert your own root certificates, such as the one provided by CAcert who issue free code signing certificates.

  1. Add the certificate to /ezxlocal/download/appwritecmsec/.policy/._policy.txt:
    CA Cert Signing Authority (anything)
    2
    1
    MIIHPTCCBS... (root certificate)
    0
    0
    0
    0
    This will make it appear in the list of Java Root Certificates under Security Settings. That's all it does. The following two files are actually used by the JVM.

  2. Add the certificate to /ezxlocal/download/java/.policy/._policy.txt:
    domain: C=;L=;O=Root CA;OU=http://www.cacert.org;CN=CA Cert Signing Authority
    2
    1
    AAAcHBwcHB... (copy this from the UTI certificate)
    MIIHPTCCBS... (root certificate)
    FrUyG9TH8+DmjvO90rA67rI5GNE= (unknown)
    1049027389 (start date)
    1995712189 (end date)
  3. Add the certificate to /usr/securesetup/.policy/_devdomain.txt:
    domain: CA Cert root certificate (anything)
    type: 2
    rootcert: MIIHPTCCBS... (root certificate)
    allowchangestatus: 0
  • Where the root certificate is specified, it's in DER format and Base64 encoded all on one line.
  • I copied the unknown part in the second policy file from the UTI certificate and it was automatically updated for me (including the domain DN).
  • Somehow /ezxlocal/download/java/.policy/._hmac.txt was not world readable, which is required to run the MIDlet from the menu.


Using signed MIDlets, I can finally set some of the permissions to "Never Ask" and avoid irritating prompts.

MIDlet certificate information

Network Speakers

| 1 Comment

I had an unused Mini-ITX computer which I can make silent (by removing the fan) as long as it isn't doing anything too intensive, and some spare speakers from a broken CD player... so I put together some remote speakers to play music on.

With some cheap bamboo cane and tie wraps I've mounted them at the head of my bed. The server boots over the HomePlug network allowing MPD to connect to it. I'll add a wireless remote control soon.

Speaker frame Speakers at top of bed Remote speaker server

Bernard Matthews fails at recycling

First Bernard Matthews increased their prices 50% by including only 4 turkey escalopes in each pack instead of 6. Now they've made their packaging more wasteful by changing from a cardboard label to a plastic one:
Disposal Information: [Label] Sorry currently non-recyclable

ASDA managed to cut down on packaging last year by printing the label onto the plastic itself and getting rid of the cardboard part altogether.

Bookcase

Bookcase (back) The back is now on and there are a lot of bent nails in my bin.

Bookcase (front) It fits quite well in the space available.

Unfortunately not all the books do. Books too tall to fit in the bookcase

Bookcase

Bookcase (front) Apparently some people think I can't put together a bookcase... it only wobbles a little bit.

Bookcase (back) I'll wait until tomorrow morning to make lots of noise putting the back on.

Movable Type

I'm now using Movable Type for this blog. It's much faster as static content than being regenerated every time like WordPress does.

Note: Google Reader users (all 3 of you) should change the feed URL. Google helpfully ignores permanent redirects and I've changed it.

Defrosting the Freezer

I finally got around to defrosting my freezer... it only took an hour to remove all the ice:

Before (top) Before (middle)
After (top) After (middle)

Photos & Videos

I have uploaded to Flickr around 650 of the 1000+ photos I took while in California. They're organised into sets by day with subsets of those for particular places. These are then all part of the September 2008: California collection. There are also some videos on YouTube.

Back home to Fife

I had a long wait before my flight to Edinburgh so I changed my remaining USD back into GBP and read my book for a few hours. The flight was then delayed another 45 minutes while they removed the luggage of someone who had failed to show up for their connecting flight. By this time it really felt like 4am and I was struggling to stay awake.

The flight arrived at 12:40pm and my bag appeared in time for me to catch the 1:20pm bus to Inverkeithing and then the next bus a few minutes later to Dalgety Bay, arriving home just after 2pm.

Back home to the UK

I got up early again and took another shuttle to LAX which took an hour, then another hour to get checked in and eat breakfast (an egg panini). Over an hour later the plane was ready for boarding and departed at 2pm. Some turbulence over the Atlantic Ocean and another two meals later, I arrived early at Heathrow around 7:40am. It's now tomorrow.

Find recent content on the main index or look in the archives to find all content.

Content authored by myself is just my honest opinion.

  • Linux
  • Get Firefox!
  • Get Thunderbird!