{ "Kestrel": { "Endpoints": { "Http": { "Url": "http://localhost:5000" }, "HttpsInlineCertFile": { "Url": "https://localhost:5001", "Certificate": { "Path": "<path to .pfx file>", "Password": "$CREDENTIAL_PLACEHOLDER$" } }, "HttpsInlineCertAndKeyFile": { "Url": "https://localhost:5002", "Certificate": { "Path": "<path to .pem/.crt file>", "KeyPath": "<path to .key file>", "Password": "$CREDENTIAL_PLACEHOLDER$" } }, "HttpsInlineCertStore": { "Url": "https://localhost:5003", "Certificate": { "Subject": "<subject; required>", "Store": "<certificate store; required>", "Location": "<location; defaults to CurrentUser>", "AllowInvalid": "<true or false; defaults to false>" } }, "HttpsDefaultCert": { "Url": "https://localhost:5004" } }, "Certificates": { "Default": { "Path": "<path to .pfx file>", "Password": "$CREDENTIAL_PLACEHOLDER$" } } } }
标签:CREDENTIAL,Certificate,Url,Kestrel,https,Path,localhost From: https://www.cnblogs.com/xinzheng/p/18394254