Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with CreateSelfSigned Certificate on macOS Sequoia #1425

Open
mdaneri opened this issue Oct 19, 2024 · 0 comments
Open

Issue with CreateSelfSigned Certificate on macOS Sequoia #1425

mdaneri opened this issue Oct 19, 2024 · 0 comments
Labels

Comments

@mdaneri
Copy link
Contributor

mdaneri commented Oct 19, 2024

Description:

When using a self-signed certificate with Pode on macOS Sequoia, applications that define an HTTPS endpoint via Add-PodeEndpoint -Protocol Https -SelfSigned encounter the following error:

Exception calling "CreateSelfSigned" with "2" argument(s): "The specified item is no longer valid. It may have been deleted from the keychain."

This issue affects any Pode application that uses HTTPS with a self-signed certificate on macOS Sequoia.

Environment:

  • Pode version: Any
  • macOS Version: Sequoia
  • .NET Runtime: [Specify .NET version being used]
  • Command: Add-PodeEndpoint -Protocol Https -SelfSigned

Steps to Reproduce:

  1. Install Pode on macOS Sequoia.
  2. Create a basic Pode application with an HTTPS endpoint:
# Start the Pode server
Start-PodeServer {
    Add-PodeEndpoint -Protocol Https -SelfSigned -Address localhost -Port 443
}
  1. Run the application.

Expected Result:

The Pode application should start successfully with the self-signed certificate for the HTTPS endpoint.

Actual Result:

An exception is thrown:

Exception calling "CreateSelfSigned" with "2" argument(s): "The specified item is no longer valid. It may have been deleted from the keychain."

Additional Information:

The issue is related to the .NET runtime on macOS and has been identified as a .NET issue. You can track the .NET issue here: dotnet/runtime#106775.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Backlog
Development

No branches or pull requests

1 participant