OpenSearchException: Transport client authentication no longer supported

@albgus I think you’ve faced the scenario described in this thread.

This issue is not present when demo certificates are in use. However, when you migrate to production then you must configure plugins.security.nodes_dn:.

Any node that won’t be in that list, will produce the reported error in OpenSearch logs.
Please remember that the values of the plugins.security.nodes_dn: have to match the node certificate.

The error says that TLS is optional for the REST. That is correct. The REST connection is on port 9200. This can be either secured or not. However, since transport layer auth/auth is no longer supported, securityadmin.sh has moved from port 9300 to 9200. That forces port 9200 to be secured for running securityadmin.sh script.

TLS always was and is mandatory for the transport layer (ports 9300 - 9400).