none
RunWithElevatedPrivileges and SSL (HTTPS) RRS feed

  • Question

  • Hi guys,

    I've a code that run "RunWithElevatedPrivileges" to call the PSI (asmx) without any problem in HTTP. But once we switch the site to HTTPS (SSL), we can't run it anymore with a 401 unauthorized error. Any clue? or how to approach this?

     

    I've tried the following to bypass the SSL Validation:

    http://forums.asp.net/t/1582493.aspx/1

    http://stackoverflow.com/questions/777607/the-remote-certificate-is-invalid-according-to-the-validation-procedure-ple

     

    p.s. I tried to hard coded the credential, but still throw me 401...

    Thanks in advanced.


    Joe



    • Edited by Joe.C Friday, December 23, 2011 2:43 PM
    Thursday, December 22, 2011 10:29 PM

All replies