TLS or SSL level used with 2.9.5

Discussion to talk about software related topics only.
Post Reply
Ant
Posts: 1
Joined: Mon Jul 31, 2023 8:06 am

TLS or SSL level used with 2.9.5

Post by Ant »

I'm using the MOD5541X to connect securely to a server using SSL_connect with Netburner 2.9.5.

The parameters used to work with the old server, but the provider has moved it over to Kubernetes and the connection fails now:

int fds = SSL_connect(ipadd, 0, NV_Settings.nAPIDestPort, TICKS_PER_SECOND * 120,NULL);

if (fds <= 0)
{
close(fds);
switch (fds)
{
case SSL_ERROR_FAILED_NEGOTIATION:
{
iprintf(" SSL_ERROR_FAILED_NEGOTIATION \r\n"); //-256
break;
}

I keep getting -256 as the return value.

The new server has TLSv1.2 and v1.3 enabled, but I can't find in the Netburner documentation what level is possible using 2.9.5 ?
User avatar
TomNB
Posts: 517
Joined: Tue May 10, 2016 8:22 am

Re: TLS or SSL level used with 2.9.5

Post by TomNB »

Hello,

The default for 2.9.5 is TLS 1.2. The error message you indicate is negotiation failed, so it must be for some other reason. A wireshark trace might help. It might be a good idea to work directly with our SSL/TLS engineers with a support ticket.
Post Reply