FireFox cert instructions (#20570)

* FireFox cert instructions

* FireFox cert instructions

* FireFox cert instructions

* FireFox cert instructions

* FireFox cert instructions

* FireFox cert instructions

* react to feedback
pull/20640/head
Rick Anderson 2020-11-17 07:13:00 -10:00 committed by GitHub
parent 94f8aecb19
commit c3cda8780a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 19 additions and 2 deletions

View File

@ -25,4 +25,4 @@
<!-- End of VS tabs -->
---
---

View File

@ -0,0 +1 @@
For information on trusting the Firefox browser, see [Firefox SEC_ERROR_INADEQUATE_KEY_USAGE certificate error](xref:security/enforcing-ssl#trust-ff).

View File

@ -9,3 +9,5 @@ The following dialog is displayed:
![Security warning dialog](~/getting-started/_static/cert.png)
Select **Yes** if you agree to trust the development certificate.
[!INCLUDE[trust FF](~/includes/trust-ff.md)]

View File

@ -14,3 +14,4 @@
See [Trust the ASP.NET Core HTTPS development certificate](xref:security/enforcing-ssl#trust-the-aspnet-core-https-development-certificate-on-windows-and-macos) for more information.
[!INCLUDE[trust FF](~/includes/trust-ff.md)]

View File

@ -434,6 +434,20 @@ See [HTTPS Error using IIS Express (dotnet/AspNetCore #16892)](https://github.co
To fix problems with the IIS Express certificate, select **Repair** from the Visual Studio installer. For more information, see [this GitHub issue](https://github.com/dotnet/aspnetcore/issues/16892).
<a name="trust-ff"></a>
### Firefox SEC_ERROR_INADEQUATE_KEY_USAGE certificate error
The Firefox browser uses it's own certificate store, and therefore doesn't trust the [IIS Express](iis/extensions/introduction-to-iis-express/iis-express-overview) or [Kestrel](xref:fundamentals/servers/kestrel) developer certificates.
To use Firefox with IIS Express or Kestrel, set `security.enterprise_roots.enabled` = `true`
1. Enter `about:config` in the FireFox browser.
1. Select **Accept the Risk and Continue** if you accept the risk.
1. Select **Show All**
1. Set `security.enterprise_roots.enabled` = `true`
1. Exit and restart Firefox
## Additional information
* <xref:host-and-deploy/proxy-load-balancer>

View File

@ -411,7 +411,6 @@ At the end of this tutorial, you'll have a working Razor Pages web app that you'
Launching the app with <kbd>Ctrl+F5</kbd> (non-debug mode) allows you to make code changes, save the file, refresh the browser, and see the code changes. Many developers prefer to use non-debug mode to quickly launch the app and view changes.
[!INCLUDE[](~/includes/trustCertVS.md)]
Visual Studio starts [IIS Express](/iis/extensions/introduction-to-iis-express/iis-express-overview) and runs the app. The address bar shows `localhost:port#` and not something like `example.com`. That's because `localhost` is the standard hostname for the local computer. Localhost only serves web requests from the local computer. When Visual Studio creates a web project, a random port is used for the web server.