Simple KeyStoreBuilder to reuse some code.