TLS or SSL level used with 2.9.5
Posted: Mon Nov 20, 2023 2:41 am
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 ?
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 ?