In this case APIGateway is manually managed and not being externally managed by APIConnect.
Original Message:
Sent: Thu November 28, 2024 09:32 AM
From: Uli Rauscher
Subject: DataPower - TLS library error - bad length
Hi,
if you mean Configuring the Invoke policy for DataPower API Gateway - IBM Documentation with "AssemblyActionInvoke", yes you are right.
Using an own (custom) TLS client profile in your yaml
- invoke:
<...>
tls-profile: MyTLSProfile:1.0.0
<...>
disabling session in MyTLSProfile:1.0.0 worked.
If you don't use "tls-profile" in your invoke action at all, default profile "api-sslcli-all" is used. You can see it in the list of TLS client profiles, you can disable TLS session in it, but it won't have any effect.
And yes, the issue appeared intermittently, as far as I remember.
Regards, Uli
------------------------------
Uli Rauscher
------------------------------
Original Message:
Sent: Thu November 28, 2024 09:17 AM
From: Asim Khan
Subject: DataPower - TLS library error - bad length
Uli,
Talking about the custom client profile, for the AssemblyActionInvoke, SSLClient is not explicitly configured under it. So does it mean it's using the implicit tls client profile if there is any, which I am not able to find? Another point to note it works intermittently. Thanks
------------------------------
Asim Khan
Original Message:
Sent: Thu November 28, 2024 01:46 AM
From: Uli Rauscher
Subject: DataPower - TLS library error - bad length
Hello, I know this error and had a support case concerning this.
There is a default tls client profile called "api-sslcli-all", but disabling session caching here won't workaround the issue.
From support: "As mentioned on my last update, api-sslcli-all is an artifact from an old version that does not support TLS1.3. As such, disabling session caching will not be a viable workaround for this object."
Disabling session caching only works in custom tls client profiles (which appear internally as "api-ssl-client-all")
So we had to apply 10.5.0.12 where IT45793 is fixed (or 10.6.0.1)
Regards, Uli
------------------------------
Uli Rauscher