diff --git a/src/security/certstore.h b/src/security/certstore.h
index ad5df0aa2bd5620d15b61e98e42a2361557e02b3..528c16273a8b0df672d49b03bc7df2e95ba30e54 100644
--- a/src/security/certstore.h
+++ b/src/security/certstore.h
@@ -120,8 +120,6 @@ class TrustStore
 {
 public:
     TrustStore() = default;
-    TrustStore(TrustStore&& o) = default;
-    TrustStore& operator=(TrustStore&& o) = default;
 
     enum class PermissionStatus { UNDEFINED = 0, ALLOWED, BANNED };
 
@@ -156,6 +154,8 @@ public:
 
 private:
     NON_COPYABLE(TrustStore);
+    TrustStore(TrustStore&& o) = delete;
+    TrustStore& operator=(TrustStore&& o) = delete;
 
     void updateKnownCerts();
     bool setCertificateStatus(std::shared_ptr<crypto::Certificate> cert,