In this previous question, SSL in Tomcat 7, I worked out how to get IE to trust a localhost certificate from my local Tomcat. That's ok for IE, but Chrome still doesn't trust it:

I understand that Chrome just uses the same certificate store as IE, so why is this happening, or more importantly - how can I trust localhost?