Load index template into Elasticsearch

Hello,
I want to issue the following command. However, I can only access my elasticsearch via ssl.
Therefore I get the following error message:

root@nmanme01:~# filebeat setup -E output.logstash.enabled=false -E output.elasticsearch.hosts=['https://elasticsearch.intern.example.com:9200'] -E setup.kibana.host=https://kibana.intern.example.com:5601
Exiting: couldn't connect to any of the configured Elasticsearch hosts. Errors: [error connecting to Elasticsearch at https://elasticsearch.intern.example.com:9200: 401 Unauthorized: {"error":{"root_cause":[{"type":"security_exception","reason":"missing authentication credentials for REST request [/]","header":{"WWW-Authenticate":["Basic realm="security" charset="UTF-8"","Bearer realm="security"","ApiKey"]}}],"type":"security_exception","reason":"missing authentication credentials for REST request [/]","header":{"WWW-Authenticate":["Basic realm="security" charset="UTF-8"","Bearer realm="security"","ApiKey"]}},"status":401}]

What can I do?