Package io.camunda.zeebe.util
Class TlsConfigUtil
java.lang.Object
io.camunda.zeebe.util.TlsConfigUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic X509Certificate[]getCertificateChain(File keyStoreFile, String password) static PrivateKeygetPrivateKey(File keyStoreFile, String password) static voidvalidateTlsConfig(File certificateChain, File privateKey, File keyStore)
-
Method Details
-
validateTlsConfig
-
getPrivateKey
public static PrivateKey getPrivateKey(File keyStoreFile, String password) throws KeyStoreException, UnrecoverableKeyException, NoSuchAlgorithmException -
getCertificateChain
public static X509Certificate[] getCertificateChain(File keyStoreFile, String password) throws KeyStoreException - Throws:
KeyStoreException
-