Deploying a self signed ceritificates in an Azure webapp

六眼飞鱼酱① 提交于 2021-02-11 11:52:30

问题


I have created a webapp in Azure and deployed few webapi 2 services. It is not a cloud service. No web and worker roles involved. No public domain name is attached to it. Also I don't want to use the default Microsoft certificate. Is it possible to install a self signed certificate to that webapp to enable https?


回答1:


Yes it is possible, you can use a "cloudapp.net" domain for this, but only for test purposes as Microsoft documentation explains:

For test purposes, you can create and use a self-signed certificate. A self-signed certificate is not authenticated through a CA and can use the cloudapp.net domain as the website URL. For example, the task below uses a self-signed certificate in which the common name (CN) used in the certificate is sslexample.cloudapp.net.

reference: https://azure.microsoft.com/en-us/documentation/articles/cloud-services-configure-ssl-certificate/



来源:https://stackoverflow.com/questions/35077718/deploying-a-self-signed-ceritificates-in-an-azure-webapp

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!