-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Closed
Labels
✔️ Resolution: AnsweredResolved because the question asked by the original author has been answered.Resolved because the question asked by the original author has been answered.Status: Resolvedarea-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor Componentsfeature-blazor-wasmThis issue is related to and / or impacts Blazor WebAssemblyThis issue is related to and / or impacts Blazor WebAssemblyquestion
Milestone
Description
Describe the bug
It's impossible to run secured connection in Linux environment.
As far as I'm able to generate self signed CA certificate which works for ASP.NET core:
- Using
$ dotnet dev-certs https --clean --import localhost.pfx -p 1234
results with:
- The certificate at 'localhost.pfx' is not a valid ASP.NET Core HTTPS development certificate.
There is no place to put it in Blazor WebAssembly configuration (appsettings).
To Reproduce
Install Ubuntu 20.20
Install .NET 5
dotnet new blazorwasm
dotnet run
- connection is not secured
- generate certificate with openssl => no place to attach it in configuration
Further technical details
- The IDE (VS Code) 1.51
P.S.
I tried to debug Blazor WASM in VS code it's also impossible.
I guess certificate issue might be the reason, yesterday I received some weird wrong certificate outputs which I'm unable to reproduce today after all day battle...
Also I was unable to debug Blazor WASM in Windows env, however after certificate installation debugger started to work...
Metadata
Metadata
Assignees
Labels
✔️ Resolution: AnsweredResolved because the question asked by the original author has been answered.Resolved because the question asked by the original author has been answered.Status: Resolvedarea-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor Componentsfeature-blazor-wasmThis issue is related to and / or impacts Blazor WebAssemblyThis issue is related to and / or impacts Blazor WebAssemblyquestion