summaryrefslogtreecommitdiff
path: root/lib/custodian/protocoltest/http.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/custodian/protocoltest/http.rb')
-rw-r--r--lib/custodian/protocoltest/http.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/custodian/protocoltest/http.rb b/lib/custodian/protocoltest/http.rb
index 475b335..11f4bff 100644
--- a/lib/custodian/protocoltest/http.rb
+++ b/lib/custodian/protocoltest/http.rb
@@ -129,6 +129,9 @@ module Custodian
c.perform
@status = c.response_code
@content = c.body_str
+ rescue Curl::Err::SSLCACertificateError => x
+ @error = "SSL-Validation error"
+ return false
rescue Curl::Err::TimeoutError
@error = "Timed out fetching page."
return false