bz998996, don't ignore IOException and createKeyStore directly if required.