Skip to content

Commit c29a4a6

Browse files
authored
Update ValidateSslCertificate method in accordance with recent changes to the security testing method (#724)
1 parent 1924b91 commit c29a4a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

twilio/http/validation_client.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -128,11 +128,11 @@ def validate_ssl_certificate(self, client):
128128
Validate that a request to the new SSL certificate is successful
129129
:return: null on success, raise TwilioRestException if the request fails
130130
"""
131-
response = client.request("GET", "https://api.twilio.com:8443")
131+
response = client.request("GET", "https://tls-test.twilio.com:443")
132132

133133
if response.status_code < 200 or response.status_code >= 300:
134134
raise TwilioRestException(
135135
response.status_code,
136-
"https://api.twilio.com:8443",
136+
"https://tls-test.twilio.com:443",
137137
"Failed to validate SSL certificate",
138138
)

0 commit comments

Comments
 (0)