From 0505fc5833dfc17b69bcb12e2c28e4e07a7b339f Mon Sep 17 00:00:00 2001
From: Yuriy Movchan <Yuriy.Movchan@gmail.com>
Date: Fri, 29 Jul 2022 16:59:10 +0000
Subject: [PATCH] Revert "Check if BC FIPS provider exists before loading it"
---
opendj-server-legacy/src/main/java/org/opends/quicksetup/SecurityOptions.java | 28 +---------------------------
1 files changed, 1 insertions(+), 27 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/quicksetup/SecurityOptions.java b/opendj-server-legacy/src/main/java/org/opends/quicksetup/SecurityOptions.java
index 7872560..c021bc9 100644
--- a/opendj-server-legacy/src/main/java/org/opends/quicksetup/SecurityOptions.java
+++ b/opendj-server-legacy/src/main/java/org/opends/quicksetup/SecurityOptions.java
@@ -48,9 +48,7 @@
/** Use an existing PKCS#11 key store. */
PKCS11,
/** Use an existing PKCS#12 key store. */
- PKCS12,
- /** Use an existing BCFKS key store. */
- BCFKS
+ PKCS12
}
private CertificateType certificateType;
@@ -216,30 +214,6 @@
}
/**
- * Creates a new instance of a SecurityOptions using a BCFKS Key Store.
- *
- * @param keystorePath
- * the path of the key store.
- * @param keystorePwd
- * the password of the key store.
- * @param enableSSL
- * whether SSL is enabled or not.
- * @param enableStartTLS
- * whether Start TLS is enabled or not.
- * @param sslPort
- * the value of the LDAPS port.
- * @param aliasesToUse
- * the aliases of the certificates in the keystore to be used.
- * @return a new instance of a SecurityOptions using a PKCS#12 Key Store.
- */
- public static SecurityOptions createBCFKSCertificateOptions( String keystorePath, String keystorePwd,
- boolean enableSSL, boolean enableStartTLS, int sslPort, Collection<String> aliasesToUse)
- {
- return createOptionsForCertificatType(
- CertificateType.BCFKS, keystorePath, keystorePwd, enableSSL, enableStartTLS, sslPort, aliasesToUse);
- }
-
- /**
* Creates a new instance of a SecurityOptions using the provided type Key
* Store.
*
--
Gitblit v1.10.0