Activate Https on Remotely Server Using Kestrel. #531
Unanswered
MagoMaverick
asked this question in
Q&A
Replies: 1 comment
-
Hi
You may also find this helpful: https://learn.microsoft.com/en-us/aspnet/core/fundamentals/servers/kestrel/endpoints?view=aspnetcore-7.0 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
installed Remotely on my server and after some tests I notice it work without IIS simply putting this configuration in appSettings.Production.json
"Kestrel": {
"Endpoints": {
"Http": {
"Url": "http://mydomain.it:4545"
}
}
}
It works, but now, to have in production I need to use Https. I already create a certificate using win-acme.
I need only to understand what can be the correct configuration on appSettings. I tried:
"Kestrel": {
"Endpoints": {
"Https": {
"Url": "https://mydomain.it:4545"
}
}
}
but when I try to reach server I get error: ERR_SSL_PROTOCOL_ERROR The site cannot provide a secure connection (using Chrome).
Somebody know how to configure it?
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions