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

bz998996, don't ignore IOException and createKeyStore directly if required.
https://bugzilla.redhat.com/show_bug.cgi?id=998996