LocalhostDevCert
No edit summary
No edit summary
Line 1: Line 1:
'''Note:''' From 210405 Turnkey core and MDrivenServer core, allow for HTTP access by sending in parameter - no HTTPS as described here: [[LocalServers]]
'''Note:''' From 210405 Turnkey core and MDrivenServer core, allow for HTTP access by sending in parameter - no HTTPS as described here: [[LocalServers]]


To let the server talk over SSL without security warnings, there must exist SSL certificates for localhost:PortNo.
To let the server talk over SSL without security warnings, SSL certificates for localhost:PortNo must exist.


This is what is typically called a Developer Certificate.
This is what is typically called a Developer Certificate.
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 Turnkey]]
    
    
  [[Category:MDriven Server]]
 
  [[Category:MDriven Server]]

Revision as of 07:52, 14 February 2023

Note: From 210405 Turnkey core and MDrivenServer core, allow for HTTP access by sending in parameter - no HTTPS as described here: LocalServers

To let the server talk over SSL without security warnings, SSL certificates for localhost:PortNo must exist.

This is what is typically called a Developer Certificate.

To register the developer-SSL cert, you must have the .netCore SDK installed.

If you already have it, jump to step 2.

  1. Download the .netCore3.1 SDK https://dotnet.microsoft.com/download/dotnet-core/thank-you/sdk-3.1.404-windows-x64-installer and install it.
  2. 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
This page was edited 98 days ago on 02/10/2024. What links here