fun createKeystoreForSSL(keyStoreFilePath: Path, storePassword: String, keyPassword: String, caKeyStore: KeyStore, caKeyPassword: String): KeyStoreAn all in wrapper to manufacture a server certificate and keys all stored in a KeyStore suitable for running TLS on the local machine
keyStoreFilePath - KeyStore path to save output tostorePassword - access password for KeyStorekeyPassword - PrivateKey access password for the generated keys.
It is recommended that this is the same as the storePassword as most TLS libraries assume they are the same.caKeyStore - KeyStore containing CA keys generated by createCAKeyStoreAndTrustStorecaKeyPassword - password to unlock private keys in the CA KeyStoreReturn
The KeyStore created containing a private key, certificate chain and root CA public cert for use in TLS applications