-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Autocreate of ~/.aspnet/https is broken #44157
Comments
I am also experiencing this issue now with a project being run from a Github Action. I had built and deployed a branch targeting dotnet 8 on October 5th without issue. I was working on a new branch today and started to run into this error trying to deploy it. As a troubleshooting step, I re-ran the same branch from October 5th and it's now failing with the same error - so this was working in the past. The relevent snippet from the action run was:
|
It looks like this has been fixed, if you still experience this please file an issue at https://github.com/dotnet/aspnetcore/ |
@nagilson : I think you can at least produce a more meaningful error message. If you can't reproduce the problem try it with a brand new user account. |
That's a good point, apologies; I will route this to the aspnet team to resolve this further. |
Describe the bug
With a new home directory, check out and build an application that wants the default https certificate (such as a vite application)
Note this won't reproduce out of your home directory, only a new one.
It's being talked about here: vitejs/vite#16296 (comment)
Troubleshooting results: vitejs/vite#16296 (comment)
To Reproduce
Build Error
failed to load config from /github/workspace/vite.config.js
error during build:
Error: Could not create certificate.
at file:///github/workspace/vite.config.js.timestamp-1711659903508-baa8584510e9a.mjs:27:11
(...at etc...)
The stacktrace is misleading; the line "Error: Could not create certificate" comes out of the dotnet command, and got thrown by vite.
The text was updated successfully, but these errors were encountered: