diff --git a/peppol-commons/pom.xml b/peppol-commons/pom.xml
index 7791b329..8eeab1ad 100644
--- a/peppol-commons/pom.xml
+++ b/peppol-commons/pom.xml
@@ -57,10 +57,6 @@
com.helger.commons
ph-security
-
- com.helger.commons
- ph-bc
-
com.helger.commons
ph-datetime
diff --git a/peppol-commons/src/test/java/com/helger/peppol/security/PeppolTrustedCAWithoutBCTest.java b/peppol-commons/src/test/java/com/helger/peppol/security/PeppolTrustedCAWithoutBCTest.java
new file mode 100644
index 00000000..3370751d
--- /dev/null
+++ b/peppol-commons/src/test/java/com/helger/peppol/security/PeppolTrustedCAWithoutBCTest.java
@@ -0,0 +1,44 @@
+/*
+ * Copyright (C) 2015-2026 Philip Helger
+ * philip[at]helger[dot]com
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package com.helger.peppol.security;
+
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertThrows;
+
+import org.junit.Test;
+
+/** Verifies that the Peppol trust stores initialize without Bouncy Castle or {@code ph-bc}. */
+public final class PeppolTrustedCAWithoutBCTest
+{
+ @Test
+ public void testTrustedCAInitializationWithoutBC ()
+ {
+ assertThrows (ClassNotFoundException.class, () -> Class.forName ("org.bouncycastle.asn1.ASN1Primitive"));
+ assertThrows (ClassNotFoundException.class, () -> Class.forName ("com.helger.bc.PBCProvider"));
+
+ assertEquals (2,
+ PeppolTrustedCA.peppolAllAP ()
+ .getAllTrustedAPCertificates ()
+ .getAllTrustedCACertificates ()
+ .size ());
+ assertEquals (2,
+ PeppolTrustedCA.peppolAllSMP ()
+ .getAllTrustedAPCertificates ()
+ .getAllTrustedCACertificates ()
+ .size ());
+ }
+}