buildKeyStore

Create a keystore and configure it in block function