From dd324aef30bafaa6a35b83b3bbc0c7f70a603246 Mon Sep 17 00:00:00 2001 From: AsabuHere Date: Tue, 3 Oct 2023 18:37:11 +0530 Subject: [PATCH 1/3] update security method validatessl --- src/base/BaseTwilio.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/BaseTwilio.ts b/src/base/BaseTwilio.ts index b8c944aa7..adc34286d 100644 --- a/src/base/BaseTwilio.ts +++ b/src/base/BaseTwilio.ts @@ -244,7 +244,7 @@ namespace Twilio { return this.httpClient ?.request({ method: "get", - uri: "https://api.twilio.com:8443/2010-04-01/.json", + uri: "https://tls-test.twilio.com:443", }) .then((response: any) => { if (response["statusCode"] < 200 || response["statusCode"] >= 300) { From d1e4b761639c6d098bc5abc536fd5fb8a41317e0 Mon Sep 17 00:00:00 2001 From: AsabuHere Date: Tue, 3 Oct 2023 18:47:33 +0530 Subject: [PATCH 2/3] update security method validatessl --- src/base/BaseTwilio.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/base/BaseTwilio.ts b/src/base/BaseTwilio.ts index adc34286d..c03c7e7a7 100644 --- a/src/base/BaseTwilio.ts +++ b/src/base/BaseTwilio.ts @@ -232,7 +232,8 @@ namespace Twilio { /* jshint ignore:start */ /** - * Validates that a request to the new SSL certificate is successful. + * Test if your environment is impacted by a TLS or certificate + * change is by sending an HTTP request to the test endpoint * * @throws RestException if the request fails * From e7855a2753609dc2bf40d2414f9aa74c5f57b283 Mon Sep 17 00:00:00 2001 From: AsabuHere Date: Wed, 4 Oct 2023 10:27:19 +0530 Subject: [PATCH 3/3] resolving checkstyle iissue --- src/base/BaseTwilio.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/BaseTwilio.ts b/src/base/BaseTwilio.ts index c03c7e7a7..d6a4ee757 100644 --- a/src/base/BaseTwilio.ts +++ b/src/base/BaseTwilio.ts @@ -232,7 +232,7 @@ namespace Twilio { /* jshint ignore:start */ /** - * Test if your environment is impacted by a TLS or certificate + * Test if your environment is impacted by a TLS or certificate * change is by sending an HTTP request to the test endpoint * * @throws RestException if the request fails