diff --git a/build.gradle b/build.gradle
index db494876ca..887966e6c7 100644
--- a/build.gradle
+++ b/build.gradle
@@ -686,6 +686,9 @@ dependencies {
testImplementation('org.awaitility:awaitility:4.2.2') {
exclude(group: 'org.hamcrest', module: 'hamcrest')
}
+ testImplementation "org.bouncycastle:bcpkix-jdk18on:${versions.bouncycastle}"
+ testImplementation "org.bouncycastle:bcutil-jdk18on:${versions.bouncycastle}"
+
// Only osx-x86_64, osx-aarch_64, linux-x86_64, linux-aarch_64, windows-x86_64 are available
if (osdetector.classifier in ["osx-x86_64", "osx-aarch_64", "linux-x86_64", "linux-aarch_64", "windows-x86_64"]) {
testImplementation "io.netty:netty-tcnative-classes:2.0.61.Final"
diff --git a/checkstyle/checkstyle.xml b/checkstyle/checkstyle.xml
index 04a36c49c1..a9c1a8f765 100644
--- a/checkstyle/checkstyle.xml
+++ b/checkstyle/checkstyle.xml
@@ -43,6 +43,13 @@
+
+
+
+
+
+
+
diff --git a/src/main/java/org/opensearch/security/OpenSearchSecurityPlugin.java b/src/main/java/org/opensearch/security/OpenSearchSecurityPlugin.java
index 15d5e4c286..9076b1da1f 100644
--- a/src/main/java/org/opensearch/security/OpenSearchSecurityPlugin.java
+++ b/src/main/java/org/opensearch/security/OpenSearchSecurityPlugin.java
@@ -648,7 +648,7 @@ public List getRestHandlers(
evaluator,
threadPool,
Objects.requireNonNull(auditLog),
- sks,
+ sslSettingsManager,
Objects.requireNonNull(userService),
sslCertReloadEnabled,
passwordHasher
@@ -1207,9 +1207,8 @@ public Collection