diff --git a/roles/ipaclient/tasks/install.yml b/roles/ipaclient/tasks/install.yml
index 9ce1cf4bec00f6b68bfdd5244e53d42118fd3940..3c09cf7b9aba94e3754df50182b39e722d6ce8a5 100644
--- a/roles/ipaclient/tasks/install.yml
+++ b/roles/ipaclient/tasks/install.yml
@@ -120,6 +120,9 @@
     - fail:
         msg: "The IPA test failed, please enable allow_repair to fix this."
       when: not ipatest.ipa_test_ok
+    - fail:
+        msg: "The ca.crt file is missing, please enable allow_repair to fix this."
+      when: not ipatest.ca_crt_exists
     - meta: end_play
     when: not ipajoin.changed and not ipaclient_allow_repair | bool and (ipatest.krb5_keytab_ok or ipajoin.already_joined)