Results 1 to 3 of 3

Thread: [Challenging] Windows Azure Website with WCF service, Windows 8 App and SSL

  1. #1
    Senior Member
    Join Date
    May 2010
    Location
    Southampton
    Posts
    511
    Thanks
    24
    Thanked
    27 times in 22 posts
    • cameronlite's system
      • Motherboard:
      • ASUS P5K Premium
      • CPU:
      • Intel Q6600
      • Memory:
      • 4GB Corsair 1333mhz
      • Storage:
      • 128GB Corsair Force 3 SSD
      • Graphics card(s):
      • MSI Twin Frozr AMD 5850 1GB
      • PSU:
      • XILENCE 600W
      • Case:
      • Lian Li P50r AMD Limited Edition
      • Operating System:
      • Windows 8 Professional 64 bit
      • Monitor(s):
      • Acer 243W 24", HP LA2405 24", Dell 2405 24"
      • Internet:
      • Virgin - 30Mb

    [Challenging] Windows Azure Website with WCF service, Windows 8 App and SSL

    Hi guys,

    I've been crying for the last few days over this security situation which I'm just not skilled enough to understand.

    Here's what I have at the moment:
    • standard website (abc.com)
    • Azure website (abc.azurewebsites.net)
    • WCF service hosted on Azure
    • Windows 8 App


    What I'm trying to do:
    • use CNAME to connect abc.com to abc.azurewebsites.net (where my hosting is)
    • access the WCF service securely from both abc.azurewebsites.net and the Win8App


    The WCF service makes the data in my database available via ODATA feeds to anybody who wants to see it so you can see why I'd like to protect it.

    So. I have one SSL certificate and two connections (Win8App->WCF service)(abc.com to WCF service ). It's not possible to use an SSL certificate with abc.azurewebsites.net, so I assume that if I have SSL working between abc.com and the WCF service then that will apply to the CNAME connection between abc.com and abc.azurewebsites.net as well. Is this assumption correct?

    Any help (even guessing) would be greatly appreciated!
    Currently studying: Electronic Engineering and Artificial Intelligence at the University of Southampton.

  2. #2
    HEXUS.social member finlay666's Avatar
    Join Date
    Aug 2006
    Location
    Newcastle
    Posts
    8,546
    Thanks
    297
    Thanked
    894 times in 535 posts
    • finlay666's system
      • CPU:
      • 3570k
      • Memory:
      • 16gb
      • Graphics card(s):
      • 6950 2gb
      • Case:
      • Fractal R3
      • Operating System:
      • Windows 8
      • Monitor(s):
      • U2713HM and V222H
      • Internet:
      • cable

    Re: [Challenging] Windows Azure Website with WCF service, Windows 8 App and SSL

    What sort of SSL cert do you have (you just said you have one)? A wildcard (most expensive but covers subdomains etc) would be fine but not sure on other platforms
    H3XU5 Social FAQ
    Quote Originally Posted by tiggerai View Post
    I do like a bit of hot crumpet

  3. #3
    Large Member
    Join Date
    Apr 2004
    Posts
    3,720
    Thanks
    47
    Thanked
    99 times in 64 posts

    Re: [Challenging] Windows Azure Website with WCF service, Windows 8 App and SSL

    Simply put, if you want to connect via https to abc.azurewebsites.net, you must have an SSL certificate that covers the FQDN. If there is no TLS service on abc.azurewebsits.net then you are not going to get very far. DNS does not work the way you have described. You could:

    • Setup your regular website as a WCF endpoint and communicate insecurely between there and your WCF service with client requests made to your 'regular' site.
    • Look at self-hosting an https server on your azure site so it can handle https traffic directly.


    Is there a reason your azure site cannot handle an SSL cert?
    To err is human. To really foul things up ... you need a computer.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •