开云体育

ctrl + shift + ? for shortcuts
© 2025 Groups.io

how to disable UseSSL=True or uncheck SSL in login dialog from IBC


 

开云体育

Can you please explain what you’re trying to do, because I have no idea what you’re talking about. What do you mean by ‘cross connected logins’?

?

TWS no longer allows not to use SSL. If you change the UseSSL setting in jts.ini to false, TWS automatically resets it to true.

?

Is it possible to do what you’re trying to do without using IBC? If so, then tell me exactly what this involves and I’ll look into it. If it’s not possible, then there is certainly nothing at all that IBC can do about it.

?

Richard

?

?

?

From: [email protected] <[email protected]> On Behalf Of Mark
Sent: Thursday, September 7, 2023 10:11 PM
To: [email protected]
Subject: [ibc] how to disable UseSSL=True or uncheck SSL in login dialog from IBC

?

How to disabled this as i am getting the SSL certificate mismatch error for cross connected logins?
so how to disable UseSSL=True in?
2023-09-06 17:44:01:970 IBC: Found setting: [Logon]/UseSSL=true

tried changing in jts.ini file does not hold UseSSL=true

so?how to disable UseSSL=True or uncheck SSL in login dialog from IBC?


 

开云体育

At the moment, the answer is ‘no’: there’s no way to disable SSL with IBC.

?

However, it should be possible to amend IBC to allow this.

?

I’m out for the day, so I can’t look at this now. I’ll try to look into it at the weekend.

?

However in the meantime, what version of TWS are you using? My login screen (10.19 or 10.24) doesn’t look like that. I’m unwilling to make changes to IBC that only work for old versions of TWS, so you’ll need to be on the current stable or latest version.

?

?

?

From: [email protected] <[email protected]> On Behalf Of Mark
Sent: Friday, September 8, 2023 12:17 AM
To: [email protected]
Subject: Re: [ibc] how to disable UseSSL=True or uncheck SSL in login dialog from IBC

?

Richard, Cross connected login is changing in jts.ini?
Peer=

#Peer=

?

instead of connecting?to the public?network?ndc1 you connect to a dedicated ip address that gives the following error shown in image?

?

this causes ibc to not reboot it and gets stuck w the mismatch ssl certificate error shown in image - this doesnt even login to gateway?

advise from ibkr :?Could you kindly confirm that you have unchecked the SSL option? If not, could you?kindly uncheck and try again, and let us know the outcome?

?

?

attached in the second screenshot is use SSL : is there a way to disable?the useSSL or uncheck the SSL option


 

开云体育

Mark

?

Ok, I’ve spent some time looking at this, and I think I know what I’m going to do.

?

What I propose is to introduce a new setting in config.ini, which will be like this:

?

CrossConnectPeer=65.90.92.40:4001

?

When IBC starts up, it always examines the jts.ini file and makes sure it contains the required minimal lines . If the CrossConnectPeer setting has a value, this mechanism will now set the Peer line to the value of that setting, and set UseSSL=false.

?

If CrossConnectPeer is not set, or is absent, the jts.ini processing will be unchanged.

?

I can’t test this fully myself because I can’t connect to your cross-connect server, so I’ll produce a beta version for you to test.

?

With any luck I’ll be able to let you have this beta version tomorrow (Sunday) evening.

?

Richard

?


 

开云体育

Mark

?

I don’t think this is going to work. I’ve done the changes I suggested, and when IBC runs it sets the right things in jts.ini, which ends up like this:

?

[IBGateway]

ApiOnly=true

?

[Logon]

Locale=en

s3store=true

tradingMode=p

TimeZone=Europe/London

displayedproxymsg=1

UseSSL=false

?

[Communication]

Peer=65.90.92.40:4001

?

But when TWS runs, the UseSSL option on the login screen is checked, ie it ignores UseSSL=false in jts.ini. If I run TWS manually with this jts.ini, and then uncheck the UseSSL option on the login screen, it won’t let it run unless I agree to use SSL.

?

So it seems to me that IBKR have given you bad information: telling you to make sure UseSSL=false in jts.ini simply doesn’t help. The fact is that current versions of TWS insist on using SSL, and there’s no way around it.

?

Now it may be that I’m missing something, and there is additional settings that are needed. So my question to you is this:

?

Have you actually got this working, ie cross-connect login, running TWS manually, ie without IBC? If so, then please send me the actual jts.ini that it uses.

?

If you haven’t had it working manually, then I really don’t understand why you started this thread: IBC is not magic: it can’t make TWS do something that it doesn’t do when run manually.

?

Richard

?


 

开云体育

That’s irrelevant now. I’ve understood the difference.

?

I need you to respond to my post from yesterday.

?

?

From: [email protected] <[email protected]> On Behalf Of Mark
Sent: Monday, September 11, 2023 4:33 AM
To: [email protected]
Subject: Re: [ibc] how to disable UseSSL=True or uncheck SSL in login dialog from IBC

?

Its is 1019 / 1023 ?

?

On Fri, Sep 8, 2023 at 12:52 AM Richard L King <rlking@...> wrote:

At the moment, the answer is ‘no’: there’s no way to disable SSL with IBC.

?

However, it should be possible to amend IBC to allow this.

?

I’m out for the day, so I can’t look at this now. I’ll try to look into it at the weekend.

?

However in the meantime, what version of TWS are you using? My login screen (10.19 or 10.24) doesn’t look like that. I’m unwilling to make changes to IBC that only work for old versions of TWS, so you’ll need to be on the current stable or latest version.

?

?

?

From: [email protected] <[email protected]> On Behalf Of Mark
Sent: Friday, September 8, 2023 12:17 AM
To: [email protected]
Subject: Re: [ibc] how to disable UseSSL=True or uncheck SSL in login dialog from IBC

?

Richard, Cross connected login is changing in jts.ini?
Peer=

#Peer=

?

instead of connecting?to the public?network?ndc1 you connect to a dedicated ip address that gives the following error shown in image?

?

this causes ibc to not reboot it and gets stuck w the mismatch ssl certificate error shown in image - this doesnt even login to gateway?

advise from ibkr :?Could you kindly confirm that you have unchecked the SSL option? If not, could you?kindly uncheck and try again, and let us know the outcome?

?

?

attached in the second screenshot is use SSL : is there a way to disable?the useSSL or uncheck the SSL option


 

开云体育

Mark

?

Perhaps you didn’t see, or didn’t read properly, my post on 10 September? If not, please read it!

?

Then, please, can you respond to what I asked? Which was this:

?

Have you actually got this working, ie cross-connect login, running TWS manually, ie without IBC? If so, then please send me the actual jts.ini that it uses.

?

If you haven’t had it working manually, then I really don’t understand why you started this thread: IBC is not magic: it can’t make TWS do something that it doesn’t do when run manually.

?

Thanks

?

Richard