LocalhostDevCert
No edit summary
(Automatically adding template at the end of the page.)
 
(4 intermediate revisions by 2 users not shown)
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.
To register the developer-SSL cert, you must have the .netCore SDK installed.  


In order to register the developer-SSL cert, you must have the .netCore SDK installed.
If you already have it, jump to step 2:
 
If you already have it, 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.
# 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:  
# In a cmd window, paste this and press enter:  
Line 15: Line 13:
  dotnet dev-certs https --trust
  dotnet dev-certs https --trust
  [[Category:MDriven Turnkey]]
  [[Category:MDriven Turnkey]]
  [[Category:MDriven Server]]
  [[Category:MDriven Server]]
{{Edited|July|12|2024}}

Latest revision as of 15:36, 10 February 2024

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