diff --git a/src/authm_mad/remotes/x509/x509_auth.rb b/src/authm_mad/remotes/x509/x509_auth.rb index c6906ec920..48fe58193f 100644 --- a/src/authm_mad/remotes/x509/x509_auth.rb +++ b/src/authm_mad/remotes/x509/x509_auth.rb @@ -182,8 +182,8 @@ private end # Validate the End Entity certificate - if !@options[:ca_dir] - raise failed + "No certifcate authority directory was specified." + if !@options[:ca_dir] + return end begin