https

Self hosted ASP.NET Core app does not work with SSL

試著忘記壹切 提交于 2020-12-04 05:27:45
问题 I have created an sample ASP.NET Core application using command line: dotnet new and tried to run it utilizing command: dotnet run But, when opening the URL in the browser, it complains that the SSL is invalid. I can run the program using Visual Studio full version without any problem, but can not run it using command line: dotnet run Seems that Kestrel which is run by command dotnet run needs extra configurations. Now, the question is how can I run my ASP.NET Core application over https

Enabling SSL on localhost IIS

只谈情不闲聊 提交于 2020-11-30 12:57:26
问题 I run localhost on my Windows 8.1 (Bootcamp on Mac) and need to enable ssl. I have already default server certificates on 127.0.0.1 and localhost. I have the localhost one assigned to my websites on port 443. https still returns security error so I need to work on http My websites run on 44300 port (eg. localhost:44300) I tried to bind the certificate to 44300, still it didn't work. How to make my locahost to work with https? Thanks EDIT The certificate is issued by localhost and is within

Enabling SSL on localhost IIS

安稳与你 提交于 2020-11-30 12:56:26
问题 I run localhost on my Windows 8.1 (Bootcamp on Mac) and need to enable ssl. I have already default server certificates on 127.0.0.1 and localhost. I have the localhost one assigned to my websites on port 443. https still returns security error so I need to work on http My websites run on 44300 port (eg. localhost:44300) I tried to bind the certificate to 44300, still it didn't work. How to make my locahost to work with https? Thanks EDIT The certificate is issued by localhost and is within

Nginx SSL configuration not working on mobile browsers

微笑、不失礼 提交于 2020-11-29 23:59:56
问题 I've set up an Nginx server serving ssl, with an http server block redirecting to a secured server block. The certificate is issued by my domain provider (1&1). It works perfectly fine on most desktop browsers, but I get an SSL_ERROR_INTERNAL_ERROR_ALERT on Firefox on mobile, and an ERR_SSL_PROTOCOL_ERROR on Chrome mobile (Android Pie). Here is the nginx configuration: server { listen 80 deferred; listen [::]:80 deferred; server_name meetoko.com www.meetoko.com; return 301 https://meetoko.com