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

SWA CLI localhost certificate can not trust #894

Open
buchizo opened this issue Nov 4, 2024 · 0 comments
Open

SWA CLI localhost certificate can not trust #894

buchizo opened this issue Nov 4, 2024 · 0 comments

Comments

@buchizo
Copy link

buchizo commented Nov 4, 2024

Is your feature request related to a problem? Please describe.

SWA CLI default SSL certificate is wrong. SWA CLI provide --ssl option, but I can't access ssl site because SWA CLI certificate is not trusted. (fig.1)
And I get still error after trust SWA CLI localhost certificate. I guess SWA CLI certificate not have server auth OID (1.3.6.1.5.5.7.3.1) in EKU. (fig. 2)

Describe the solution you'd like

Add server/client auth to EKU of SWA CLI certificate like as ASP.NET Core localhost certificate.

Describe alternatives you've considered

Currentlly, I should use --ssl-key and --ssl-cert option with --ssl and own localhost certificate. (this is very troublesome.)

Additional context

fig.1
Image

fig. 2
Image

  • SWA CLI version: 2.0.1
  • OS: Windows 11 x64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant