How can we improve Azure Storage?

make it possible to use SSL on blob storage using custom domains

Currently you can use SSL but you have to user the standard URL. You can create a CNAME to your storage account but most browsers complain that the traffic was rerouted and is possibly an attack. There should be a way to install a domain certificate to your containers.

3,175 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Tobin RysengaTobin Rysenga shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    76 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • Anonymous commented  ·   ·  Flag as inappropriate

        A small workaround i use it's to create a webapp and assign a custom ssl cert to; then proxy blob assets:

        public class HomeController : Controller
        {
        private const string ASSETS = "https://XXXXXXXX.blob.core.windows.net/XXXXXXXX/{0}";

        public ActionResult Index(string url)
        {
        var blob_url = string.Format(ASSETS, url);
        var fs = TransferFile(blob_url);
        if (fs != null)
        {
        return fs;
        }

        return new HttpNotFoundResult();
        }

        private ActionResult TransferFile(string dest)
        {
        try
        {
        WebRequest request = WebRequest.Create(dest);
        WebResponse response = request.GetResponse();
        Stream stream = response.GetResponseStream();
        FileStreamResult fs = new FileStreamResult(stream, FTTLib.FTT.GetMimeType(dest));
        return fs;
        }
        catch (Exception e)
        {
        Trace.TraceError("ERROR: {0}", e.Message);
        }

        return null;
        }
        }

        I personally use a virtual dir under the main website, i.e.: /assets. this will lead you to

        https://XXXXXXXX.blob.core.windows.net/XXXXXXXX/example.jpg
        https://www.yourcustomdomain/assets/examples.jps

        you can further improve with local caching, extension filtering etc.

      • Darren SherwoodDarren Sherwood commented  ·   ·  Flag as inappropriate

        As SSL all the way is kind of standard now, I simply cannot use a custom domain with azure blog storage and this sucks.

      • Laurence MeeLaurence Mee commented  ·   ·  Flag as inappropriate

        Currently it is not possible to upload a certificate to allow access to Blob Storage via a Custom Domain. This means that resources are accessed insecurely and if included in a secured web page then browsers complain of mixed secure and unsecure content which is not good at all. SSL Certificates should be allowed for Blob Storage Custom Domains in some way.

      • Maxipes FikMaxipes Fik commented  ·   ·  Flag as inappropriate

        Is this STILL NOT POSSIBLE :-O!?!? WTF! Apple comming iOS enforces this this year in EVERY APP!!! So MS Azure gets a NO-GO for all interconnected apps!!!

      • Rune SynnevågRune Synnevåg commented  ·   ·  Flag as inappropriate

        Microsoft: Anything new here?
        Azure is great, but it looks better using our own domains when distributing files etc.

      • Justin FrenzelJustin Frenzel commented  ·   ·  Flag as inappropriate

        It seems silly that custom domains would be supported, but not SSL for those custom domains. It makes custom domains useless for anything secure. Please working on delivering this feature, as I think it is must-have, and is something other platforms (AWS) supports.

      Feedback and Knowledge Base