Microsoft.SemanticKernel.HttpOperationException: 'The SSL connection could not be established, see inner exception.'

Arbaaz Iqbal 0 Reputation points
2024-07-29T23:25:56.04+00:00

AuthenticationException: The remote certificate is invalid because of errors in the certificate chain: RevocationStatusUnknown

Hello, I am trying to integrate Microsoft Semantic Kernel into my application. I tried implementing Azure Open AI as a standalone gpt model and it worked fine, even tested the API endpoint via postman. However, When I am trying to use Semantic kernel, it keeps giving me this SSL error no matter what I do.

How I set my variables :

const string azureOpenAIDeployementName = "gpt-4o";

const string azureOpenAIAPIKey = "xxxxxxxxxxxxxxx";

const string azureOpenAIEndpoint = "xxxxxxxxxxxxxxx";

const string azureOpenAIModelId = "gpt-4o";

Any help would be greatly appreciated it. I followed this guide: https://techcommunity.microsoft.com/t5/educator-developer-blog/how-to-use-semantickernel-with-openai-and-azure-openai-in-c/ba-p/4081648

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,845 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,555 questions
Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
3,056 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,841 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. YutongTie-MSFT 51,711 Reputation points
    2024-07-30T01:02:53.42+00:00

    Hello @Arbaaz Iqbal

    Thanks for reaching out to us, however, Semantic Kernel is not supported in this forum, please post your question here - https://github.com/microsoft/semantic-kernel/discussions

    Engineers are supporting there to discuss with you.

    More choices here -

    Your preference What's available
    Read the docs This learning site is the home of the latest information for developers
    Read the docs This learning site is the home of the latest information for developers
    Visit the repo Our open-source GitHub repository is availble for perusal and suggestions
    Connect with the Semantic Kernel Team Visit our GitHub Discussions to get supported quickly with our CoC actively enforced
    Office Hours We will be hosting regular office hours; the calendar invites and cadence are located here: Community.MD

    I hope this information helps!

    Regards,

    Yutong

    -Please kindly accept the answer if you feel helpful to support the community, thanks a lot.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.