diff --git a/meta/lib/oeqa/selftest/cases/fitimage.py b/meta/lib/oeqa/selftest/cases/fitimage.py
index 0180a3c962..ee7f52e1ca 100644
--- a/meta/lib/oeqa/selftest/cases/fitimage.py
+++ b/meta/lib/oeqa/selftest/cases/fitimage.py
@@ -2646,6 +2646,29 @@ FIT_SIGN_INDIVIDUAL = "1"
         # Just check the DTB of u-boot since there is no u-boot FIT image
         self._check_kernel_dtb(bb_vars)
 
+    def test_sign_uboot_kernel_crt_only(self):
+        """
+        Summary:     Check if the public keys for verifying the kernel FIT
+                     image are added to the U-Boot DTB if only the
+                     certificates are available, e.g. because the private
+                     keys are in an HSM.
+        Expected:    The U-Boot build succeeds without the .key file and
+                     the U-Boot DTB has the signature node.
+        """
+        machine = self._get_machine_or_skip()
+        config = """
+UBOOT_SIGN_ENABLE = "1"
+UBOOT_SIGN_KEYDIR = "${TOPDIR}/signing-keys-crt-only"
+"""
+        config = FitImageTestCase._config_add_machine_settings(config, machine, keys=["UBOOT_MACHINE", "UBOOT_DTB_BINARY", "UBOOT_ARCH"])
+        self.write_config(config)
+        bb_vars = self._fit_get_bb_vars()
+        self._gen_signing_key(bb_vars)
+        os.remove(os.path.join(bb_vars['UBOOT_SIGN_KEYDIR'], bb_vars['UBOOT_SIGN_KEYNAME'] + '.key'))
+
+        self._bitbake_fit_image(bb_vars)
+        self._check_kernel_dtb(bb_vars)
+
 
     def test_sign_uboot_fit_image_without_spl(self):
         """
