Repository navigation
Closed
Description
Error
A recent signed test build revealed the following failures from Apple's Notarization service. This is because the native binares (dotnet-dev-certs, dotnet-user-secrets and dotnet-user-jwts) aren't signed/hardened.
{
"logFormatVersion": 1,
"jobId": "8e88725a-ce27-4b54-8a15-f10e9ec92950",
"status": "Invalid",
"statusSummary": "Archive contains critical validation errors",
"statusCode": 4000,
"archiveFilename": "dotnet-sdk-11.0.100-preview.6.26311.102-osx-x64.pkg",
"uploadDate": "2026-06-11T13:29:01.418Z",
"sha256": "5cb37f818b9ae78685cc38a5a1337678b3ade8f30656818df08d8f2eab772fe4",
"ticketContents": null,
"issues": [
{
"severity": "error",
"code": null,
"path": "dotnet-sdk-11.0.100-preview.6.26311.102-osx-x64.pkg/com.microsoft.dotnet.dev.11.0.100-preview.6.26311.102.component.osx.x64.pkg Contents/Payload/usr/local/share/dotnet/sdk/11.0.100-preview.6.26311.102/DotnetTools/dotnet-dev-certs/11.0.0-preview.6.26311.102/tools/net11.0/osx-x64/dotnet-dev-certs",
"message": "The binary is not signed.",
"docUrl": "https://developer.apple.com/documentation/security/notarizing_macos_software_before_distribution/resolving_common_notarization_issues#3087721",
"architecture": "x86_64"
},
{
"severity": "error",
"code": null,
"path": "dotnet-sdk-11.0.100-preview.6.26311.102-osx-x64.pkg/com.microsoft.dotnet.dev.11.0.100-preview.6.26311.102.component.osx.x64.pkg Contents/Payload/usr/local/share/dotnet/sdk/11.0.100-preview.6.26311.102/DotnetTools/dotnet-dev-certs/11.0.0-preview.6.26311.102/tools/net11.0/osx-x64/dotnet-dev-certs",
"message": "The signature does not include a secure timestamp.",
"docUrl": "https://developer.apple.com/documentation/security/notarizing_macos_software_before_distribution/resolving_common_notarization_issues#3087733",
"architecture": "x86_64"
},
{
"severity": "error",
"code": null,
"path": "dotnet-sdk-11.0.100-preview.6.26311.102-osx-x64.pkg/com.microsoft.dotnet.dev.11.0.100-preview.6.26311.102.component.osx.x64.pkg Contents/Payload/usr/local/share/dotnet/sdk/11.0.100-preview.6.26311.102/DotnetTools/dotnet-dev-certs/11.0.0-preview.6.26311.102/tools/net11.0/osx-x64/dotnet-dev-certs",
"message": "The executable does not have the hardened runtime enabled.",
"docUrl": "https://developer.apple.com/documentation/security/notarizing_macos_software_before_distribution/resolving_common_notarization_issues#3087724",
"architecture": "x86_64"
},
{
"severity": "error",
"code": null,
"path": "dotnet-sdk-11.0.100-preview.6.26311.102-osx-x64.pkg/com.microsoft.dotnet.dev.11.0.100-preview.6.26311.102.component.osx.x64.pkg Contents/Payload/usr/local/share/dotnet/sdk/11.0.100-preview.6.26311.102/DotnetTools/dotnet-user-secrets/11.0.0-preview.6.26311.102/tools/net11.0/osx-x64/dotnet-user-secrets",
"message": "The binary is not signed.",
"docUrl": "https://developer.apple.com/documentation/security/notarizing_macos_software_before_distribution/resolving_common_notarization_issues#3087721",
"architecture": "x86_64"
},
{
"severity": "error",
"code": null,
"path": "dotnet-sdk-11.0.100-preview.6.26311.102-osx-x64.pkg/com.microsoft.dotnet.dev.11.0.100-preview.6.26311.102.component.osx.x64.pkg Contents/Payload/usr/local/share/dotnet/sdk/11.0.100-preview.6.26311.102/DotnetTools/dotnet-user-secrets/11.0.0-preview.6.26311.102/tools/net11.0/osx-x64/dotnet-user-secrets",
"message": "The signature does not include a secure timestamp.",
"docUrl": "https://developer.apple.com/documentation/security/notarizing_macos_software_before_distribution/resolving_common_notarization_issues#3087733",
"architecture": "x86_64"
},
{
"severity": "error",
"code": null,
"path": "dotnet-sdk-11.0.100-preview.6.26311.102-osx-x64.pkg/com.microsoft.dotnet.dev.11.0.100-preview.6.26311.102.component.osx.x64.pkg Contents/Payload/usr/local/share/dotnet/sdk/11.0.100-preview.6.26311.102/DotnetTools/dotnet-user-secrets/11.0.0-preview.6.26311.102/tools/net11.0/osx-x64/dotnet-user-secrets",
"message": "The executable does not have the hardened runtime enabled.",
"docUrl": "https://developer.apple.com/documentation/security/notarizing_macos_software_before_distribution/resolving_common_notarization_issues#3087724",
"architecture": "x86_64"
},
{
"severity": "error",
"code": null,
"path": "dotnet-sdk-11.0.100-preview.6.26311.102-osx-x64.pkg/com.microsoft.dotnet.dev.11.0.100-preview.6.26311.102.component.osx.x64.pkg Contents/Payload/usr/local/share/dotnet/sdk/11.0.100-preview.6.26311.102/DotnetTools/dotnet-user-jwts/11.0.0-preview.6.26311.102/tools/net11.0/osx-x64/dotnet-user-jwts",
"message": "The binary is not signed.",
"docUrl": "https://developer.apple.com/documentation/security/notarizing_macos_software_before_distribution/resolving_common_notarization_issues#3087721",
"architecture": "x86_64"
},
{
"severity": "error",
"code": null,
"path": "dotnet-sdk-11.0.100-preview.6.26311.102-osx-x64.pkg/com.microsoft.dotnet.dev.11.0.100-preview.6.26311.102.component.osx.x64.pkg Contents/Payload/usr/local/share/dotnet/sdk/11.0.100-preview.6.26311.102/DotnetTools/dotnet-user-jwts/11.0.0-preview.6.26311.102/tools/net11.0/osx-x64/dotnet-user-jwts",
"message": "The signature does not include a secure timestamp.",
"docUrl": "https://developer.apple.com/documentation/security/notarizing_macos_software_before_distribution/resolving_common_notarization_issues#3087733",
"architecture": "x86_64"
},
{
"severity": "error",
"code": null,
"path": "dotnet-sdk-11.0.100-preview.6.26311.102-osx-x64.pkg/com.microsoft.dotnet.dev.11.0.100-preview.6.26311.102.component.osx.x64.pkg Contents/Payload/usr/local/share/dotnet/sdk/11.0.100-preview.6.26311.102/DotnetTools/dotnet-user-jwts/11.0.0-preview.6.26311.102/tools/net11.0/osx-x64/dotnet-user-jwts",
"message": "The executable does not have the hardened runtime enabled.",
"docUrl": "https://developer.apple.com/documentation/security/notarizing_macos_software_before_distribution/resolving_common_notarization_issues#3087724",
"architecture": "x86_64"
}
]
}
Links
No response
Root Cause
unknown
Blocking
- This issue is blocking
Affected Releases
- .NET 10
- .NET 10 (SDK band build)
- .NET 11
Reacted by Copilot
Activity
akoeplinger commentedon Jun 11, 2026
@DamianEdwards @baronfel two things need to happen:
Add the binary file names to src/sdk/eng/Signing.props, similar to
dotnet/src/sdk/eng/Signing.props
Lines 103 to 106 in 1ac12ac
Add ad-hoc codesign call to add the entitlements, similar to
dotnet/src/sdk/src/Layout/redist/targets/GenerateLayout.targets
Lines 91 to 92 in 24bbb7f
I think this should be done in the sdk repo instead of aspnetcore since these tools don't ship outside of the sdk right?
akoeplinger commentedon Jun 11, 2026
#7131 is adding another binary
akoeplinger commentedon Jun 11, 2026
Ah I guess we don't need step 2 since NativeAOT apps don't need entitlements: https://learn.microsoft.com/en-us/dotnet/core/deploying/macos#entitlements-for-apps-published-as-native-aot