asp.net appsettings.json文件添加 Kestrel
"Kestrel": { "Endpoints": { "Https": { "Url": "https://localhost:5101", "Certificate": { "Path": "./localhost.pfx", "Password": "123456" } } } }
"Kestrel": { "Endpoints": { "Https": { "Url": "https://localhost:5101", "Certificate": { "Path": "./localhost.pfx", "Password": "123456" } } } }