• Home
  • Ext and SSL [Resolved]

  • I recently tried to change the HttpProxy url config option from http://server/handlers/test.ashx to https://server/handlers/test.ashx and now I receive 'Access denied' in IE7 and my store doesn't get populated.

    How do I make my proxy calls work via the secure port?


  • Also if I make the calling .aspx page which contains the Ext code also work via https:// I get a slightly different error.

    Permission denied to call method XMLHttpRequest.open' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "" data: no]

    Any ideas?


  • But the requesting page (.aspx containing the Ext code) and the call to the .ashx handler are both set to work via https://


  • Problem solved.

    Although the class I have server side is switching the call to Course.ashx to https:// automatically, I need to ensure the url contains https:// as well. if I don't change the url text as to https:// it fails.

    'https://' + sRoot + '/Handlers/Course.ashx'

    Thanks for the guidance.


  • It is telling you right there what the problem is. the original page is loaded non-secure, but the ajax connection is attempting to use a secure connection. the browser treats these as different domains, which invokes the same origin security restriction policy.


  • is that page actually being served via HTTPS?


  • In Mozilla I get the following message...

    uncaught exception: Security Error: Content at http://localhost/xxxx/SecureExt.aspx may not load data from https://localhost/xxxx/Handlers/Course.ashx.


  • Hi djliquidice,

    Yes it is. I have a class in .NET project which automatically switches to a secure channel for certain pages. I was doing some testing with calls to my generic handlers (ashx) when I noticed the problem.

    Thanks in advance for any help.







  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about Ext and SSL [Resolved] , Please add it free.