0

My SSL certificate is not verified on a subdomain of cloudapp.net - Classic Virtual server at Azure.

I setup everything in my IIS, and my port rule 443.

Could the subdomains at cloudapp.net not work with HTTPS at all?

Basilf
  • 401
  • 5
  • 17
  • This question appears to be off-topic because it is not within the bounds of discussion as described in the help center. –  Aug 09 '17 at 20:26
  • Since you use IIS on your side, why did you add azure-web-sites tag to your thread? For your question, are you the owner of appcloud.net domain? By searching the domain, I found it is on sale. – Amor Aug 10 '17 at 01:58
  • @Amor sorry, i was talking about cloudapp.net - azure virtual servers domain. And that's why I'm tagging Azure – Basilf Aug 10 '17 at 08:36
  • Did you use Azure Virtual Machine or Azure Cloud Service to host your web application? – Amor Aug 10 '17 at 08:46
  • @Amor Azure Virtual Machine, and i wanted to access the subdomain on cloudapp.net directly, without using a custom domain. But i can't seem to make the certificate be verified at all – Basilf Aug 13 '17 at 19:34

1 Answers1

1

Could the subdomains at cloudapp.net not work with HTTPS at all?

I tested it recently on my side and I make sure that the subdomains at cloudapp.net could work with HTTPS. Following are my steps.

Step 1. Generated certificate and installed it to IIS. I created and used a self-signed certificate for testing. I generated the .pfx file according to ways described in following link.

Generating a Self-Signed Certificate for Windows Azure Cloud Service

After that, we can upload the certificate to IIS of VM.

enter image description here

Step 2. Add HTTPS binding to your IIS.

enter image description here

Step 3. Enable 443 port for inbound rules and outbound rules.

enter image description here

Step 4. Add 443 endpoint for your VM.

enter image description here

Amor
  • 8,325
  • 2
  • 19
  • 21
  • Amor, Thanks for putting so much time into this. But i still get the red unsecured flag. I followed the steps 1 by 1 tens of times to make sure I'm not missing anything, still the self signed certificate is not working. It doesn't work even from my localhost inside the server, so you can rule out firewall problems – Basilf Aug 16 '17 at 13:14
  • The red unsecured flag means the certificate is not a trusted certificate. You can just ignore this or acquire an SSL certificate from a [trusted certificate authority](https://en.wikipedia.org/wiki/Certificate_authority). – Amor Aug 17 '17 at 02:47
  • I tried that as well, but my certificate was not approved obviously, because i don't own the domain cloudapp.net ( I wish :) ) That was my first initial question actually, If i can set a trusted certificate on this domain.. – Basilf Aug 17 '17 at 09:48
  • That is the restrict of cloudapp.net. Please also check this thread. [Does Azure offer https for “cloudapp.net”?](https://stackoverflow.com/questions/20494005/does-azure-offer-https-for-cloudapp-net). We can't add trust certificate to sub domain of cloudapp.net currently. Please use a custom domain instead. – Amor Aug 18 '17 at 01:40
  • thank you for your help. Those where my thoughts as well after trying every possible solution :) – Basilf Aug 18 '17 at 10:14