Use localhost dev cert in sample (#2235)

This commit is contained in:
Chris Ross 2017-12-27 10:06:42 -08:00 committed by GitHub
parent 9b3470dacb
commit c8e93a6108
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -102,7 +102,7 @@ namespace SampleApp
options.ListenAnyIP(basePort + 4, listenOptions =>
{
listenOptions.UseHttps(StoreName.My, "aspnet.test", allowInvalid: true);
listenOptions.UseHttps(StoreName.My, "localhost", allowInvalid: true);
});
options

View File

@ -5,9 +5,9 @@
"NamedHttpsEndpoint": {
"Url": "https://localhost:6443",
"Certificate": {
"Subject": "aspnet.test",
"Subject": "localhost",
"Store": "My",
"AllowInvalid": true
"AllowInvalid": true
}
}
}