K
K
KzLIFE2016-10-20 22:59:18
C++ / C#
KzLIFE, 2016-10-20 22:59:18

Is it possible to create an HTTPS multi-threaded server in C#?

I create a web server based on this article Multi- threaded server in C # in 15 minutes
I want to exchange data between a local and remote server through a browser (AJAX), because my host has a security certificate, but the local one does not. An error appears in the browser that it cannot download data because the local server does not have a security certificate. Is it possible to get and embed this certificate in C# http listener?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
MrDywar Pichugin, 2016-10-21
@KzLIFE

Article 2011.
Use OWIN to Self-Host.
https://www.asp.net/web-api/overview/hosting-aspne...
odetocode.com/blogs/scott/archive/2014/02/10/build...
Web server in any application simply and quickly you can return anything.

S
SofroN, 2016-12-05
@SofroN

Use dst-nat instead of netmap.
If a computer with an ip-address of 192.168.1.254 uses a gateway different from the address of your Mikrotik, you still need to do src-nat Do
not forget to add an allow rule to the filter
internet table - is this a pppoe connection, not a port?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question