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 8920805
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T06:22:14+00:00 2026-06-15T06:22:14+00:00

I plan to connect via HTTPS to a server using the Innovation HTTP Client.

  • 0

I plan to connect via HTTPS to a server using the Innovation HTTP Client.

I need to be able to accept all server SSL certificates.

There are some examples using HttpsURLConnection, but I need to use the Innovation implementation.

Does anyone have any examples for Innovation HTTP Client?

  • 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-15T06:22:16+00:00Added an answer on June 15, 2026 at 6:22 am

    Innovation HTTPClient doesn’t directly support HTTPS. See this page on the Innovation website for more information. There are a number of 3rd party patches and examples listed there which you can implement. Setting certificate acceptance depends on the patch implementation you choose.

    EDIT / UPDATE

    Note that JSSE SSL implementation is being used and the intent is to define a TrustedManager and bind it via SSLContext to HTTPConnection.

    Assuming you know how to create a TrustManager, the following code is co-opted from this Stackoverflow page, which also shows how to generate one.

    TrustManager[] trustAllCerts = new TrustManager[] { ... };
    
    // Install the all-trusting trust manager
    try {
        SSLContext sc = SSLContext.getInstance("TLS");
        sc.init(null, trustAllCerts, new java.security.SecureRandom());
    

    Per the README file I got from the JSSE SSL download off the Innovation website link from earlier, you can assign it to the HTTPConnection by doing this:

        // Attach context to connection via socket factory
        HTTPConnection.setDefaultSSLSocketFactory(sc.getSocketFactory());
    
    } catch (Exception e) { ... }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to upload directories to a FTP server on my application, and plan
I am trying to automate files download via a webserver. I plan on using
We plan to use Dynamics CRM Online via the browser client, but not the
I plan on using multiple popups on my website. Every popup will be rendered
I plan on building a simple, yet high usage webapp and need to settle
I plan to write a Desktop Client for Windows and Mac. It will be
I plan to make a Python game server but I can't see how to
My team is maintaining a huge Client Server win32 Delphi application. It is a
I have three TCP servers I need to connect to, each with different protocols,
I have a problem where I have an existing client server (socket based) application

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.