Skip to content

Replace "ASP.NET Core Development Certificate" with "development certificate" in user-facing strings - #15048

Merged
David Negstad (danegsta) merged 2 commits into
danegsta/trustLogfrom
copilot/sub-pr-14666
Mar 8, 2026
Merged

David Negstad (danegsta) merged 2 commits into
danegsta/trustLogfrom
copilot/sub-pr-14666

Conversation

Copilot AI commented Mar 8, 2026 •

Copy link
Copy Markdown
Contributor

Addresses review feedback on #14666 to simplify certificate terminology in user-facing messages.

Description

Replaces "ASP.NET Core Development Certificate" → "development certificate" across all affected strings and their localizations.

Files changed:

  • InteractionStrings.resx — updated DeveloperCertificateNotFullyTrustedMessage and NoDeveloperCertificateTrustedMessage values
  • InteractionStrings.Designer.cs — XML doc comments updated to match resx
  • Dcp/DcpHost.cs — LogWarning message string
  • 13 xlf localization files (cs, de, es, fr, it, ja, ko, pl, pt-BR, ru, tr, zh-Hans, zh-Hant) — <source> and <target> strings updated

Checklist

  • Is this feature complete?
    • Yes. Ready to ship.
    • No. Follow-up changes expected.
  • Are you including unit tests for the changes and scenario tests if relevant?
    • Yes
    • No
  • Did you add public API?
    • Yes
      • If yes, did you have an API Review for it?
        • Yes
        • No
      • Did you add <remarks /> and <code /> elements on your triple slash comments?
        • Yes
        • No
    • No
  • Does the change make any security assumptions or guarantees?
    • Yes
      • If yes, have you done a threat model and had a security review?
        • Yes
        • No
    • No
  • Does the change require an update in our Aspire docs?

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI changed the title [WIP] Fix logging for untrusted development certificate Replace "ASP.NET Core Development Certificate" with "development certificate" in user-facing strings Mar 8, 2026
@danegsta
David Negstad (danegsta) marked this pull request as ready for review March 8, 2026 05:41
@danegsta
David Negstad (danegsta) merged commit 1f08c4e into danegsta/trustLog Mar 8, 2026
2 of 3 checks passed
@danegsta
David Negstad (danegsta) deleted the copilot/sub-pr-14666 branch March 8, 2026 05:41
David Negstad (danegsta) added a commit that referenced this pull request Mar 9, 2026
…v cert (#14666)

* Add logging if we detect the app host is running with an untrusted dev cert

* Allow overriding the dev cert used by the dashboard

* Also notify the dashboard if the certificate isn't trusted

* Update src/Aspire.Hosting/DeveloperCertificateService.cs

Co-authored-by: Copilot <[email protected]>

* Move forward unlocking the macos keychain and trust the cert

* Update trust check to handle MacOS

* Add link to dev-certs code

* Cleanup some of the exceptions

* Trusting on Mac isn't going to be an option; switch to a warning in logs

* Use resource strings, move check and logging to DcpHost setup

* Update how HTTPS check is determined

* Use the file system service to get a temp folder

* Refactor DeveloperCertificateService to use ProcessSpec and ProcessUtil APIs with async/await (#14110)

* Update test service mocks

* Guard against the interaction service not being available

* Fix merge issue in DashboardEventHandlers

* Fix developer cert service timeout on Mac CI

* Only skip interaction service prompt if service not available

* Add additional test

* Fix failing test

* Disable dev cert https in mac ci tests

* Revert unrequired macos timeout change

* Add comments explaining the dashboard certificate config

* Only warn if there's an HTTPS/TLS endpoint

* Cleanup how we determine certificate trust to a cross-platform approach

* Expose interface property such that it can be used in tests

* Add chain build that got removed

* Check if cert is in root store on Windows

* Fix check that wasn't properly detecting the lack of trusted certificates

* Update src/Aspire.Hosting/Dcp/DcpHost.cs

Co-authored-by: Damian Edwards <[email protected]>

* Add logging if we detect the app host is running with an untrusted dev cert (#15042)

* Initial plan

* Replace dotnet dev-certs command references with aka.ms/aspire/devcerts link

Co-authored-by: danegsta <[email protected]>

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: danegsta <[email protected]>

* Fix failing test after log message updated to reference aka.ms/aspire/devcerts (#15043)

* Initial plan

* Fix failing test that was checking for outdated string content after log message update

Co-authored-by: danegsta <[email protected]>

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: danegsta <[email protected]>

* Replace "ASP.NET Core Development Certificate" with "development certificate" in user-facing strings (#15048)

* Initial plan

* Replace "ASP.NET Core Development Certificate" with "development certificate" in strings

Co-authored-by: danegsta <[email protected]>

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: danegsta <[email protected]>

---------

Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Damian Edwards <[email protected]>
Copilot AI added a commit that referenced this pull request Mar 10, 2026
…v cert (#14666)

* Add logging if we detect the app host is running with an untrusted dev cert

* Allow overriding the dev cert used by the dashboard

* Also notify the dashboard if the certificate isn't trusted

* Update src/Aspire.Hosting/DeveloperCertificateService.cs

Co-authored-by: Copilot <[email protected]>

* Move forward unlocking the macos keychain and trust the cert

* Update trust check to handle MacOS

* Add link to dev-certs code

* Cleanup some of the exceptions

* Trusting on Mac isn't going to be an option; switch to a warning in logs

* Use resource strings, move check and logging to DcpHost setup

* Update how HTTPS check is determined

* Use the file system service to get a temp folder

* Refactor DeveloperCertificateService to use ProcessSpec and ProcessUtil APIs with async/await (#14110)

* Update test service mocks

* Guard against the interaction service not being available

* Fix merge issue in DashboardEventHandlers

* Fix developer cert service timeout on Mac CI

* Only skip interaction service prompt if service not available

* Add additional test

* Fix failing test

* Disable dev cert https in mac ci tests

* Revert unrequired macos timeout change

* Add comments explaining the dashboard certificate config

* Only warn if there's an HTTPS/TLS endpoint

* Cleanup how we determine certificate trust to a cross-platform approach

* Expose interface property such that it can be used in tests

* Add chain build that got removed

* Check if cert is in root store on Windows

* Fix check that wasn't properly detecting the lack of trusted certificates

* Update src/Aspire.Hosting/Dcp/DcpHost.cs

Co-authored-by: Damian Edwards <[email protected]>

* Add logging if we detect the app host is running with an untrusted dev cert (#15042)

* Initial plan

* Replace dotnet dev-certs command references with aka.ms/aspire/devcerts link

Co-authored-by: danegsta <[email protected]>

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: danegsta <[email protected]>

* Fix failing test after log message updated to reference aka.ms/aspire/devcerts (#15043)

* Initial plan

* Fix failing test that was checking for outdated string content after log message update

Co-authored-by: danegsta <[email protected]>

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: danegsta <[email protected]>

* Replace "ASP.NET Core Development Certificate" with "development certificate" in user-facing strings (#15048)

* Initial plan

* Replace "ASP.NET Core Development Certificate" with "development certificate" in strings

Co-authored-by: danegsta <[email protected]>

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: danegsta <[email protected]>

---------

Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Damian Edwards <[email protected]>
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 7, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants