Elasticsearch 7.1 fresh install errors with "master not discovered exception" when security is enabled

Hello everyone, everything good?
I'm having the same problem.
I am trying to enable security in ElasticSearch 7.1.1.
However I am taking the following error, when executing the command "elasticsearch-setup-passwords auto":

"Failed to determine the health of the cluster running at http://192.168.70.71:9200
Unexpected response code [503] from calling GET http://192.168.70.71:9200/_cluster/health?pretty
Cause: master_not_discovered_exception"

There are three servers with the following configuration in the file elasticsearch.yml:

cluster.name: elk-cluster
node.name: elk-node01
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
network.host: 0.0.0.0
http.port: 9200
discovery.seed_providers: file
cluster.initial_master_nodes: ["elk-node01", "elk-node02", "elk-node03"]
xpack.security.enabled: true
xpack.security.transport.ssl.enabled: true

The only parameter that changes from one node to another is the "node.name" (elk-node02 and elk-node03).
Are there any other settings I need to adjust?

I thank you for your attention. Thank you.