Blazor WebAssembly - certificate [Linux] [Ubuntu 20.20]
See original GitHub issueDescribe 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…
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Ubuntu 20.04 Chrome not trusting self signed certificate in ...
I'm running Ubuntu 20.04 and working on .NET core 3.1. I just started a project for a "hosted blazor WASM" application (.net server...
Read more >Deploying Blazor Server-side to the Linux Distro Ubuntu
This article describes how to deploy an existing Blazor Server-side app to an existing installation of Linux Distro Ubuntu.
Read more >Deploying Blazor WebAssembly applications to Azure ...
In this tutorial, I compare Azure Static Web Apps with Azure App Service and explain how to publish a Blazor WebAssembly application as...
Read more >ASP.NET Core updates in .NET 7 Preview 7
Here's a summary of what's new in this preview release: New Blazor WebAssembly loading page; Blazor data binding get/set/after modifiers; Blazor ...
Read more >Build and Deploy a Blazor App Without Touching ...
So in this tutorial, we built a Blazor application (both WebAssembly and Blazor Server) on an Ubuntu machine and pushed it up to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks for contacting us. We’re moving this issue to the
Next sprint planning
milestone for future evaluation / consideration. We will evaluate the request when we are planning the work for the next milestone. To learn more about what to expect next and how this issue will be handled you can read more about our triage process here.This issue has been resolved and has not had any activity for 1 day. It will be closed for housekeeping purposes.
See our Issue Management Policies for more information.