question

GrandhisilaJVSNagalakshmi-2180 avatar image
0 Votes"
GrandhisilaJVSNagalakshmi-2180 asked ramr-msft commented

Getting SSL/TLS error while using Speech to text service API calls

Hi team,

I am using https://uksouth.api.cognitive.microsoft.com/speechtotext/v2.0/transcriptions for getting transcriptions in my website. My website (lower environment) has self signed certificate.Getting One or more errors occurred. System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure error when i am calling speech to text api.

Can you please help me ASAP

azure-cognitive-servicesazure-speech
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

ramr-msft avatar image
0 Votes"
ramr-msft answered ramr-msft commented

@GrandhisilaJVSNagalakshmi-2180 Thanks for the question. We recommend using Speech to Text v3.0 API. Can you please share the code that you are trying and the steps that you performed.

Please follow the document for Azure Cognitive Services security and samples.


· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I think for using Speech to Text v3.0 API we should use latest .net framework (above 4.7) however i am using .net framework 4.0 version. My code sample is122395-samplecode.txt


0 Votes 0 ·
samplecode.txt (1.5 KiB)