Use localhost dev cert in sample (#2235)
This commit is contained in:
parent
9b3470dacb
commit
c8e93a6108
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -5,9 +5,9 @@
|
|||
"NamedHttpsEndpoint": {
|
||||
"Url": "https://localhost:6443",
|
||||
"Certificate": {
|
||||
"Subject": "aspnet.test",
|
||||
"Subject": "localhost",
|
||||
"Store": "My",
|
||||
"AllowInvalid": true
|
||||
"AllowInvalid": true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue