Azure Cloud Service - Azure cannot verify SSL certificate

When I try to deploy my MVC application to Azure Cloud Services, the deployment fails with the error "Azure could not verify the specified certificate." As far as I can tell, I set everything up correctly.

My cloud service is sitting in Azure at myapp.cloudapp.net . I set an A record in my own domain myapp@mydomain.com to point to the Azure cloud service. This works as expected.

Next, in IIS on Azure VM, I created a certificate request for myapp@mydomain.com , sent it to my selected CA and received a .crt certificate from them. Back in IIS, I fulfilled the certificate request using the .crt certificate and placed it in the personal certificate store. Then I exported the .pfx certificate from IIS.

I used the .pfx certificate to upload to the Azure portal, as shown.

azure-certs

I also installed the .pfx certificate in the personal certificate store on the development machine used to deploy Azure.

In Visual Studio 2012 for webrole, I selected my installed .pfx certificate and installed it as a certificate for the HTTPS endpoint.

vs2012-cerst

vs2012-endpoint

Azure. ​​Visual Studio "Azure ". , .

IIS Azure VM, SSL- , .

+4
2

Azure, , -.

, , , , . , ​​ .

, .

HTTPS - .

+1

:

1) , certmgr.msc

2) .

3) .

4) .

5) .

6) Azure .

7) VS.

0

Source: https://habr.com/ru/post/1528072/


All Articles