简体   繁体   中英

How to enable ssl without set commandName to IISEXPRES

In the Identity server empty template project I want to show logs in the command line.

Error:-

In launchSettings.json when setup "commandName": "Project" command line run but ssl certificate invalid.

在此处输入图像描述

When I do "commandName": "IISExpress" SSL certificate is valid but does not run via command line.

please help me with how to run logs in the command line and have SSL in Project mode simultaneously.

To enable the SSL with in IIS Express, you have to just set “SSL Enabled = true” in the project properties window.

2- netsh http show sslcert ipport=0.0.0.0:44300 //run this command as admin

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM