Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/339.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
IIS express中的C#WEB API项目TLS 1.2设置_C#_.net_.net 4.6 - Fatal编程技术网

IIS express中的C#WEB API项目TLS 1.2设置

IIS express中的C#WEB API项目TLS 1.2设置,c#,.net,.net-4.6,C#,.net,.net 4.6,我有一个运行.net 4.6.1的WEB API项目,我想首先让TLS 1.2在IIS express中的localhost上运行,然后在正确设置后,我想将其部署到服务器2008 R2上运行IIS 7.5的开发服务器上,并在那里进行TLS设置 我已经在web配置中阅读了其他文章 <compilation targetFramework="4.6.1"/> <httpRuntime targetFramework="4.6.1"/> <pages controlRen

我有一个运行.net 4.6.1的WEB API项目,我想首先让TLS 1.2在IIS express中的localhost上运行,然后在正确设置后,我想将其部署到服务器2008 R2上运行IIS 7.5的开发服务器上,并在那里进行TLS设置

我已经在web配置中阅读了其他文章

<compilation targetFramework="4.6.1"/>
<httpRuntime targetFramework="4.6.1"/>
<pages controlRenderingCompatibilityVersion="4.0"/>


尽管我知道Chrome会警告它不安全,但我现在还是想走自签名路线。

这是否回答了您的问题?