diff --git a/plugins/repository-gcs/src/main/java/org/opensearch/repositories/gcs/GoogleCloudStorageService.java b/plugins/repository-gcs/src/main/java/org/opensearch/repositories/gcs/GoogleCloudStorageService.java index a92908fa4edfd..5e41775129682 100644 --- a/plugins/repository-gcs/src/main/java/org/opensearch/repositories/gcs/GoogleCloudStorageService.java +++ b/plugins/repository-gcs/src/main/java/org/opensearch/repositories/gcs/GoogleCloudStorageService.java @@ -304,7 +304,7 @@ static Integer toTimeout(final TimeValue timeout) { private KeyStore createFipsCompliantGoogleTrustStore() throws GeneralSecurityException, IOException { // Use BCFKS KeyStore type which is required for FIPS mode - KeyStore trustStore = KeyStore.getInstance("BCFIPS", "BCFIPS"); + KeyStore trustStore = KeyStore.getInstance("BCFKS", "BCFIPS"); // Initialize empty BCFKS trust store trustStore.load(null, null); @@ -323,3 +323,4 @@ private KeyStore createFipsCompliantGoogleTrustStore() throws GeneralSecurityExc return trustStore; } } +