Skip to content

Commit 7e6e139

Browse files
authored
update validate ssl method (twilio#680)
1 parent e410c83 commit 7e6e139

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/twilio-ruby/base/client_base.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,9 @@ def build_uri(uri)
9595
end
9696

9797
##
98-
# Validate the new SSL certificate for the Twilio API
98+
# Validate the SSL certificates for the Twilio API
9999
def validate_ssl_certificate
100-
response = request('api.twilio.com', '8443', 'GET', 'https://api.twilio.com:8443/.json')
100+
response = request('tls-test.twilio.com', '443', 'GET', 'https://tls-test.twilio.com')
101101
return unless response.status_code < 200 || response.status_code >= 300
102102

103103
raise RestError.new 'Unexpected response from certificate endpoint', response

0 commit comments

Comments
 (0)