Failed to import app: Error: self signed certificate in certificate chain

Anna 21 Reputation points
2021-01-29T01:54:54.663+00:00

I hit the error when creating LUIS app with "luis:application:import --in <luis-model-json-file> --endpoint <endpoint> --subscriptionKey <subscription-key> --name <name> --versionId <initial-version-id>",

Follow the page: https://learn.microsoft.com/en-us/azure/bot-service/bot-builder-howto-bf-cli-deploy-luis?view=azure-bot-service-4.0, and the problem occurs the section "Create your LUIS application".

The above step persists erroring out with "Failed to import app: Error: self signed certificate in certificate chain". I feel this might be my local machine setup issue. I googled it around but couldn't find a solution. Can anyone help me here?

Thanks

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
859 questions
0 comments No comments
{count} votes

Accepted answer
  1. romungi-MSFT 47,236 Reputation points Microsoft Employee
    2021-01-29T06:54:40.01+00:00

    @Anna Yes, it look like you are using a self signed cert on your machine and openssl is throwing an error while making a connection to the LUIS endpoint. You can try this scenario from a different machine or fix the certificate by installing it from trusted CA. I think this SO thread details couple of quick fixes that could help in your case.

    0 comments No comments

0 additional answers

Sort by: Most helpful

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.