microsoft / microsoft/PowerPlatformConnectors

Custom Connector encounter 500 error on self-signed Restful API

Open
#1,643 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C#
Stars
1.3k
Forks
1.5k
Avg merge
5d 15h
Merged PRs (30d)
11

Description

Type of Connector

Custom Connector

Name of Connector

SAP B1 Service Layer

Describe the bug

Power Platform custom connector encounters below error on self-signed Restful API.

{
"error": {
"code": 500,
"message": "The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.",
"source": "asia-001.azure-apim.net",
"path": "forward-request",
"policyId": "",
"clientRequestId": "dc49fc2c-df21-4969-a1ab-74f20522b7bd"
}
}

Does customer connector support self-signed certificate?

Is this a security bug?

Yes, this is a security bug

What is the severity of this bug?

Severity 1 - Connector is broken or there's a very serious issue

To Reproduce

create custom connector to invoke API from my server which has self-signed certificates.

Expected behavior

custom connector should work as normal

Environment summary

Install Method (e.g. pip, interactive script, apt-get, Docker, MSI, edge build)
CLI version (paconn --version)
OS version
Shell Type (e.g. bash, cmd.exe, Bash on Windows)

Additional context

Does customer connector support self-signed certificate?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No repository file, test, or implementation entry point is identified. Reproduce the custom connector request against the self-signed REST API, then determine whether self-signed certificates are supported and what change or documented limitation resolves the reported TLS trust error.

Written by the indexing model from the issue text.

Assessment

Domain
api, security
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.