Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8363821
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T12:16:47+00:00 2026-06-09T12:16:47+00:00

I’m trying to make Cross-Domain webservice calls from an HTTP page to an HTTPS

  • 0

I’m trying to make Cross-Domain webservice calls from an HTTP page to an HTTPS service.

I have set up the proper CORS headers on the server (it works with HTTP-HTTP and HTTPS-HTTPS).

It does work if I change the requests to JSONp.

What I’m seeing in Chrome and Firefox is the HTTPS request is never sent, it’s immediately aborted, and the server never sees the request.

It is worth noting that the preflight OPTIONS request is aborted (and it doesn’t reach the server).

I can’t find any source that explains that this is indeed not possible (HTTP to HTTPS) and better yet: explains why. I can understand HTTPS to HTTP is unsafe, but the othe way around should be fine right? It seems silly to me because JSONp works (but it’s messy).

notes

I also have withCredentials set to true and I’m sending some custom headers and a custom Content-Type: application/json

I’m using the regular XMLHTTPRequest with fallbacks to JSONp for IE<=9

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T12:16:49+00:00Added an answer on June 9, 2026 at 12:16 pm

    Ok, I figured it out. The certificate I’m using for the HTTPS domain is self-signed and unverified. Adding it to the list of trusted third-party authorities fixed it for me.

    You can install the certificate in Windows 7 through IE. This worked for me:
    http://productforums.google.com/forum/#!topic/chrome/bds-Ao9LigA%5B1-25%5D
    post by zacharysyoung 2/11/09
    Make sure you run IE(9) as administrator or the install will fail even-though it says it installed it correctly.

    1. Open Internet Explorer (IE) and navigate to the site hosting the self-signed certificate.
    2. IE should display a page warning that, ‘There is a problem with this web site’s security certificate.’
    3. Click the, ‘Continue to this website (not recommended)’ link.
    4. Once the page has loaded, look to the right of the address bar. A red/pink button, labeled ‘Certificate Error,’ should be visible. Click
      that button.
    5. A pop-up, titled ‘Untrusted Certificate,’ will appear. Click the ‘View certificates’ link at the bottom of the pop-up.
    6. Another pop-up, titled ‘Certificate,’ will appear. Click the ‘Install Certificate…’ button.
    7. The ‘Certificate Import Wizard’ will be started. Click the ‘Next’ button.
    8. ** For XP: a. Leave ‘Automatically select the certificate…’ option selected, and click the ‘Next’ button. ** For Vista: a.
      Choose ‘Place all certificates in the following store’ option, and
      click the ‘Browse’ button. b. Click the ‘Show physica stores’
      checkbox. c. Expand the ‘Third-Party Root Certification
      Authorities’ folder, and choose ‘Local Computer’. Click the ‘OK’
      button. d. Click the ‘Next’ button.
    9. This should display the ‘Completing the Certificate Import Wizard’ dialog. Click the ‘Finish’ button.
    10. A ‘Security Warning’ pop-up will appear. The warning is informing you that the certificate’s origin cannot actually be validated. You
      should know where the certificate is coming from. If you do, click the
      ‘Yes’ button to install the certificate.
    11. A final pop-up informing you that, ‘The import was successful,’ will be displayed. Click the ‘OK’ button.
    12. Restart/Open Chrome and navigate to the site in question. You should not be greeted by the security warning page.

    Aside from that, I think I may have discovered a bug in Chrome. See:
    https://code.google.com/p/chromium/issues/detail?id=141839

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a .ini file as follows: [playlist] numberofentries=2 File1=http://87.230.82.17:80 Title1=(#1 - 365/1400) Example
Basically, what I'm trying to create is a page of div tags, each has
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I have a text area in my form which accepts all possible characters from
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I have a view passing on information from a database: def serve_article(request, id): served_article
I would like my Web page http://www.gmarks.org/math_in_e-mail.txt on my Apache 2.2.14 server to display
I am trying to loop through a bunch of documents I have to put
I have a bunch of posts stored in text files formatted in yaml/textile (from
I am trying to understand how to use SyndicationItem to display feed which is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.