Grégoire DEFOY Welcome to Microsoft Q&A forum!
Internal error NX_SECURE_TLS_INVALID_STATE when connecting to a NetX Duo Secure server When I connect to the server and when i process the client hello, i get an internal error telling me that there are no ciphersuites, is there something to initialize the ciphersuites ?
The error "NX_SECURE_TLS_INVALID_STATE" can occur when the TLS state is incorrect.
You can try the following steps to resolve the issue:
- Confirm that the TLS state is correct.
- Check the TLS state machine to ensure that the correct state is being used.
- Ensure that the TLS session was not terminated unexpectedly.
Also, The documentation which you are following show the basic outlines for a TLS Client and Server, respectively, but for clarity the error handling is omitted. However, part of the security TLS provides is dependent on the proper handling of error conditions. Generally, the most serious potential problems will be handled within the TLS stack itself, but it is important for the TLS application to properly respond to and recover from TLS errors that are not handled within the TLS implementation.
Please double check the sample and try the error handling. See the section A Note on TLS Session Error Recovery for more details.
When I connect to the server and when i process the client hello, i get an internal error telling me that there are no ciphersuites, is there something to initialize the ciphersuites ?
It's possible that the ciphersuites have not been properly initialized. Ensure that it has been included.
If you need further help in this matter, please comment in the below section and we are happy to discuss!
If this answers your query, do click Accept Answer and Yes for this answer as helpful. And, if you have any further query do let us know by commenting in the below section.