LocalhostDevCert
No edit summary |
No edit summary |
||
Line 14: | Line 14: | ||
dotnet dev-certs https --clean | dotnet dev-certs https --clean | ||
dotnet dev-certs https --trust | dotnet dev-certs https --trust | ||
[[Category:MDriven Turnkey]] | |||
[[Category:MDriven Server]] |
Revision as of 08:42, 15 December 2022
This page was created by Hans.karlsen on 2020-12-16. Last edited by Stephanie on 2025-01-28.
Note: From 210405 Turnkey core and MDrivenServer core allow for http access by sending in parameter -nohttps as described here LocalServers
In order to let the server talk over SSL without security warnings there must exists ssl-certificates for localhost:PortNo.
This is what is typically called a Developer Certificate.
In order to register the developer-ssl cert you must have the .netCore SDK installed.
If you have it already jump to step 2.
- Download the .netCore3.1 SDK https://dotnet.microsoft.com/download/dotnet-core/thank-you/sdk-3.1.404-windows-x64-installer and install it.
- In a cmd window paste this and press enter:
dotnet dev-certs https --trust
If you suspect that there is something wrong try to clean it first:
dotnet dev-certs https --clean dotnet dev-certs https --trust