The list of included root-CA certificates in OpenJDK for Windows is quite impressive but there are a lot of root-CA certificates that are trusted by common browsers like Firefox that are not trusted by Java.
Both Microsoft and Mozilla publish their current list of root-CA certificates but the used file format seems to be proprietary.
The curl project has an automatic converter that uses the Mozilla file as source, however this converter (mk-ca-bundle) is a Perl script.
Is there a way to read one of these lists with plain Java so that it can be used as trust store afterwards?