I hacked around with this about a month ago without much success and finally gave up when I found that CertUtil did this and was on every system I needed to run it on. Wasn't worth my time/effort to pursue at that point.

Actually I am a Rocket Scientist! \:D