diff --git a/pom.xml b/pom.xml
index 2b3a122..52be72b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -27,7 +27,7 @@
java-buildpack-container-security-provider
Cloud Foundry Container Security Provider
Utility that watches for changes to container identity and trust stores
- 1.20.0.BUILD-SNAPSHOT
+ 1.21.0.BUILD-SNAPSHOT
jar
https://github.com/cloudfoundry/java-buildpack-container-security-provider
diff --git a/src/main/java/org/cloudfoundry/security/FileWatchingX509ExtendedKeyManager.java b/src/main/java/org/cloudfoundry/security/FileWatchingX509ExtendedKeyManager.java
index b931975..9fba576 100644
--- a/src/main/java/org/cloudfoundry/security/FileWatchingX509ExtendedKeyManager.java
+++ b/src/main/java/org/cloudfoundry/security/FileWatchingX509ExtendedKeyManager.java
@@ -55,7 +55,8 @@ final class FileWatchingX509ExtendedKeyManager extends X509ExtendedKeyManager {
this.keyManagerFactory = keyManagerFactory;
new FileWatcher(this.certificates, new FileWatcherCallback()).watch();
- new FileWatcher(this.privateKey, new FileWatcherCallback()).watch();
+ // disable watching the key file to prevent race condition bug - a certificate file change covers the key change
+ // new FileWatcher(this.privateKey, new FileWatcherCallback()).watch();
if (this.keyManager.compareAndSet(null, getKeyManager(getKeyStore()))) {
this.logger.info(String.format("Initialized KeyManager for %s and %s", this.privateKey, this.certificates));