question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Blazor WebAssembly - certificate [Linux] [Ubuntu 20.20]

See original GitHub issue

Describe the bug

image

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: image

  1. 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

image

  • 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:closed
  • Created 3 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
msftbot[bot]commented, Dec 7, 2020

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.

0reactions
msftbot[bot]commented, Jan 14, 2021

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found