You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Highlight Trusted Signing endpoint region requirement and add 403 Forbidden troubleshooting
Make the Endpoint region requirement obvious and provide a concrete example (403 Forbidden + SignerSign failure) with steps to resolve when the endpoint doesn’t match the region of the Trusted Signing account/certificate profile.
Copy file name to clipboardExpand all lines: articles/trusted-signing/how-to-signing-integrations.md
+40-1Lines changed: 40 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -147,7 +147,8 @@ To sign by using Trusted Signing, you need to provide the details of your Truste
147
147
}
148
148
```
149
149
150
-
The `"Endpoint"` URI value must be a URI that aligns with the region where you created your Trusted Signing account and certificate profile when you set up these resources. The table shows regions and their corresponding URIs.
150
+
> [!IMPORTANT]
151
+
> The `"Endpoint"` URI value must match the region where you created your Trusted Signing account **and** the certificate profile. Use one of the region-specific URIs in the table below. A region/endpoint mismatch commonly causes a 403 Forbidden error and an internal `SignerSign()` failure during signing.
151
152
152
153
| Region | Region class fields | Endpoint URI value |
153
154
|--------------|-----------|------------|
@@ -160,6 +161,44 @@ To sign by using Trusted Signing, you need to provide the details of your Truste
160
161
161
162
<sup>1</sup> The optional `"CorrelationId"` field is an opaque string value that you can provide to correlate sign requests with your own workflows, such as build identifiers or machine names.
162
163
164
+
#### Endpoint mismatch error example
165
+
166
+
If the endpoint does not match the region where the Trusted Signing account and certificate profile were created, a sign request can fail with a 403 Forbidden response and an internal SignTool error. This indicates the service rejected the request due to an incorrect regional endpoint.
167
+
168
+
Example failure output:
169
+
170
+
```
171
+
Submitting digest for signing...
172
+
Unhandled managed exception
173
+
Azure.RequestFailedException: Service request failed.
1. Verify the region where the Trusted Signing account and certificate profile were provisioned.
196
+
2. Update the `"Endpoint"` value in the JSON to the correct regional URI from the table above.
197
+
3. Retry the signing operation.
198
+
199
+
Tip: A 403 with zero content length and `SignerSign()` failure is a strong indicator of an endpoint–region mismatch.
200
+
201
+
163
202
### Authentication
164
203
165
204
This Task performs authentication using [DefaultAzureCredential](/dotnet/api/azure.identity.defaultazurecredential), which attempts a series of authentication methods in order. If one method fails, it attempts the next one until authentication is successful.
0 commit comments