|
Contrary to (probably) popular belief, GETURI doesn't use HTTPAPI. It was
actually written a year or two before. Long story as to why, but lets just
say I saved/made a customer a lot of money on UPS refunds... until UPS
realized what we were doing and didn't allow us to scrape their screens for
late shipments any more..haha.
On Wed, Nov 26, 2025 at 4:08 PM Charles Wilt <charles.wilt@xxxxxxxxx>
wrote:
Hmmm...requires a
A quick glance at the source for HTTPAPI and I don't see that it
non-blank METHOD (in http_req()).do
Not sure it'd work, but maybe...
Charles
On Wed, Nov 26, 2025 at 2:44 PM Brad Stone <bvstone@xxxxxxxxx> wrote:
GETURI isn't HTTP only. It's mainly used for that, yes, but it can beused
for other TCPIP communications. I think one time I even set it up to
youFTP.
It asks whether you want to close the connection... So, technically,
typecould perform a sequence of operations over the same connection... I
haven't fully tested it lately, but in the past it was used for that
directly...it'sof thing.just
And you can build headers totally custom, or use no headers at all and
send a payload.
On Wed, Nov 26, 2025 at 3:23 PM Charles Wilt <charles.wilt@xxxxxxxxx>
wrote:
I would assume that since your client is using sockets
HTTPAPIunlessusing some custom protocol..
If that's the case, then HTTPAPI or GETURI aren't really an option
usingthe server is re-writen to use standard HTTP as a protocol.
On the other hand, it's possible that the client/server is actually
HTTP, if that case you could simply re-write the client to use
orYou
theGETURL.would
Would be a bit strange for this to be the case, as HTTPAPI or GETURI
have made this much easier from the get go.client
Unless the client/server app pre-dates those two tool sets.
HTH,
Charles
On Wed, Nov 26, 2025 at 2:07 PM <smith5646midrange@xxxxxxxxx> wrote:
By rewriting the server, I meant if they wanted to change the IBMi
GETURIto do HTTPAPI or GETURI. I assumed that I couldn't use HTTPAPI or
on the IBMi client while the server is still trying to communicate
Ofcurrent way...or was that a bad assumption?
-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf
midrange-l@xxxxxxxxxxxxxxxxxxBrad Stone
Sent: Wednesday, November 26, 2025 2:35 PM
To: Midrange Systems Technical Discussion <
Subject: Re: Using TLS1.2 with IBMi custom agent software
No, the server has nothing to do with the client on your IBM i.
https://www.ibm.com/docs/en/i/7.4.0?topic=sockets-global-security-kit-gskit-apissaidchanges
the server runs on a Windows system. They would have their own
toThere's
make if they don't already allow SSL/TLS.
Yes, those are the basic socket APIs in your client application.
a whole other set and some other functions to use GSKit for TLS.
*SYSTEMerrors
You can also go deeper with the GSKit APIs and catch and ignore
if
the CA that signs the server's certificate if it's not in the
wrote:well).store
on the IBM i (which is built into GETURI and I think HTTPAPI as
On Wed, Nov 26, 2025 at 1:13 PM <smith5646midrange@xxxxxxxxx>
towhich
To rewrite the client to use HTTPAPI or GETURI, I'm assuming they
would need to rewrite the server (is that a valid assumption?)
clientsI'm sure they will not do because it communicates with other
that would also have to be rewritten.
The current logic is using procedures like
opnskt pr 10i 0 extproc('socket')
bind pr 10i 0 extproc('bind')
connect pr 10i 0 extproc('connect')
listen pr 10i 0 extproc('listen')
accept pr 10i 0 extproc('accept')
send pr 10i 0 extproc('send')
Since it is currently using the above procedures, is changing it
Behalfconsuminguse
TLS1.2 via the IBMi APIs going to be really painful and time
(and thus expensive) and I should try to talk them out of it?
-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On
thoseOf
Brad Stone
Sent: Wednesday, November 26, 2025 1:28 PM
To: Midrange Systems Technical Discussion
<midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: Using TLS1.2 with IBMi custom agent software
Yes. Your client application needs to use socket APIs for any
communication. It does already, correct? If not, how is it
communicating? HTTPAPI? GETURI? SQL? Something else?
If SSL is required, then you need to use the SSL versions of
APIs..socket APIs instead of the basic ones... and yes, the GSKit
anyIBM has basically said they aren't updating the older SSL APIs
clearHTTPAPImore.
It would probably be easier to rewrite the client app to use
wrote:or GETURI as it's a little complicated.
On Wed, Nov 26, 2025 at 12:20 PM <smith5646midrange@xxxxxxxxx>
They are currently not using any encryption at all. It is
that".text only. They want to add TLS1.2 encryption.
You said "The SSL APIs used in the agent should handle all
tolikeSince there are currently no SSL APIs in the program, it sounds
the piece that I have been missing in my search is that I need
isthededuction?add some SSL API logic to the program. Is that a correct
I never thought about the TLS logic being API stuff (duh).
Searching for "IBMi TLS API", I see stuff about GSKit. Is that
Behalfdirection that I need to go for TLS1.2?
-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On
sayingOf Brad Stone
Sent: Wednesday, November 26, 2025 12:59 PM
To: Midrange Systems Technical Discussion
<midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: Using TLS1.2 with IBMi custom agent software
So you're not using TLS if there's no encryption. If you're
wrote:they are wanting to use TLS, my answer still stands.
On Wed, Nov 26, 2025 at 11:17 AM <smith5646midrange@xxxxxxxxx>
Wow, I missed a key piece of info in that. Currently there
noyou
Behalfencryption. They are talking clear text.
-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On
Of Brad Stone
Sent: Wednesday, November 26, 2025 12:15 PM
To: Midrange Systems Technical Discussion
<midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: Using TLS1.2 with IBMi custom agent software
The SSL APIs used in the agent should handle all that. If
isrighthave TLS set up properly and your QSSL* system values set up
and are on V7R3 or above, the only thing you may need to do
smith5646midrange@xxxxxxxxx>import the CA chain used by the certificate on the server.
On Wed, Nov 26, 2025 at 11:10 AM <
apparentlysomewrote:package.
I have a client that has a custom server / agent software
The server runs on windows. The agent runs on the IBMi and
other platforms. They want to add TLS1.2 protocol to the
communication and I have to do the IBMi side. I'm
findingnot googling with the right keywords because I'm not
thatany
details on how to implement it. Are there code changes
awhatencryptionneed to be made? It is just a different port and the
automatically happens?/ decryption
I'm lost. Can someone point me in the right direction for
thattakechanges have to be made to the IBMi agent for TLS1.2? I'll
web links, keywords for google searches, of anything else
get me heading in the right direction. I am open to doing
orofflineteams meeting if that would be easier. Just send me an
(MIDRANGE-L)request with times that you are available.
Thanks in advance.
--
This is the Midrange Systems Technical Discussion
mailing list To post a message email:
MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe,
(MIDRANGE-L)https://lists.midrange.com/mailman/listinfo/midrange-lchange list options,
visit:
ator email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
subscriptionhttps://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any
related questions.--
This is the Midrange Systems Technical Discussion
https://lists.midrange.com/mailman/listinfo/midrange-lchangemailing list To post a message email:
MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or
list options,
visit:
ator email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
(MIDRANGE-L)subscriptionhttps://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any
related questions.
--
This is the Midrange Systems Technical Discussion
https://lists.midrange.com/mailman/listinfo/midrange-lchangemailing list To post a message email:
MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or
list options,
visit:
ator email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
subscriptionsubscriptionhttps://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any
MIDRANGE-L@xxxxxxxxxxxxxxxxxxrelated questions.--
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
mailing list To post a message email:
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any
subscriptionMIDRANGE-L@xxxxxxxxxxxxxxxxxxrelated questions.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
mailing list To post a message email:
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any
mailingmailingmailingrelated questions.--
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
mailinglist To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To
subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
related questions.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
list To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To--
subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
related questions.
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
mailingrelatedlist To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx Tosubscribe,
unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
questions.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
listrelated
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
questions.--
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
relatedlistrelated
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
listquestions.--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
listquestions.--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx--
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.