Friday, October 14, 2011

Import Self Signed Certs

Day three of using self signed certs and I was tired of telling chrome to accept it. Under the wrench menu there was an import certificate process. However, for Ubunutu, what it really needed was importing them into the OS keystore

First step, install the libnss3-tools:
sudo apt-get install libnss3-tools

There is a mention on that page linked above that says the cert needs to be imported as a CA due to a bug. On Natty Ubuntu it was not necessary. I put the following function in my .bashrc

function trustCert() {
[ $# -ne 2 ] && echo "you need to provide [certificate_nickname] and [certificate_filename]" && return 1
certutil -d sql:$HOME/.pki/nssdb -A -t "P,," -n $1 -i $2

Friday, June 10, 2011

Gradle Dependencies

I was looking for the command to tell gradle to list the project dependencies (think maven dependency:tree). I came across this closed bug. Annoyingly that bug does not say how to actually output the listing.

Well, it's a command line option (run gradle --help) that was deprecated in favor of:
gradle dependencies

Tuesday, May 31, 2011

Architecting and Building A startup

This is not my usual flavor of posts in this space. However, it seems like a good place to mention that my users of Book Mobile have been feeling even more abandoned lately as I've left the corporate world to Architect and build a startup. Stealth mode requires that I say nothing about the startup or it's architecture.

Hopefully those Book Mobile users understand the nature of spare-time-projects and how that spare time ebbs and flows.

Wednesday, January 26, 2011

Ubuntu Maverick Meerkat Android UDEV Settings

Thank you Esua Silva for referencing the Maverick udev syntax for my 70-android.rules file. I have a nexus one so of course my vendor id is 18D1:
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", MODE="0666"

The syntax change from Lucid to Maverick should have been easier to find.