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

Grandhisila, J V S Nagalakshmi 1 Reputation point
2021-08-11T13:34:14.017+00:00

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 AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
1,391 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,367 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ramr-msft 17,611 Reputation points
    2021-08-11T13:54:19+00:00

    @Grandhisila, J V S Nagalakshmi 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.