【发布时间】:2018-03-05 20:48:26
【问题描述】:
如何在 windows 2016 服务器 上运行的 ASP .Net Core 2 在服务结构中设置 https 端点。所以我在 ServiceManifest.xml 中添加了端点
<Endpoint Protocol="https" Name="ServiceEndpointHttps" Type="Input" Port="8373" />
我还在 ApplicationManifest.xml 中添加了
<EndpointBindingPolicy EndpointRef="ServiceEndpointHttps" CertificateRef="my_api_cert" />
<Certificates>
<EndpointCertificate X509FindValue="certthumbprint" Name="my_api_cert" />
</Certificates>
当我部署它时,它不会为 https 创建端点。我还需要为 https 做些什么吗?
【问题讨论】:
标签: azure-service-fabric asp.net-core-2.0