Created
May 5, 2021 20:07
-
-
Save manoj-choudhari-git/288c88dd4d5d4c02d0c8e7aada7eb8db to your computer and use it in GitHub Desktop.
Default appsettings.json file, from the documentation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Kestrel": { | |
"Endpoints": { | |
"Http": { | |
"Url": "http://localhost:5000" | |
}, | |
"HttpsInlineCertFile": { | |
"Url": "https://localhost:5001", | |
"Certificate": { | |
"Path": "<path to .pfx file>", | |
"Password": "<certificate password>" | |
} | |
}, | |
"HttpsInlineCertAndKeyFile": { | |
"Url": "https://localhost:5002", | |
"Certificate": { | |
"Path": "<path to .pem/.crt file>", | |
"KeyPath": "<path to .key file>", | |
"Password": "<certificate password>" | |
} | |
}, | |
"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": "<certificate password>" | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment