# Security autoconfiguration information

**URL:** <https://discuss.elastic.co/t/security-autoconfiguration-information/340100>\
**Category:** Elasticsearch\
**Created:** [August 4, 2023, 6:25am UTC](https://discuss.elastic.co/t/security-autoconfiguration-information/340100 "2023-08-04T06:25:12Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![usman1](https://avatars.discourse-cdn.com/v4/letter/u/c67d28/32.png) [@usman1](https://discuss.elastic.co/u/usman1)\
**Post date:** [August 4, 2023, 6:25am UTC](https://discuss.elastic.co/t/security-autoconfiguration-information/340100/1 "2023-08-04T06:25:12Z")

</div>

I have just installed the newest version of Elasticsearch using the official guide but did not come across 'Security autoconfiguration information' screen. Now when I try to start Elasticsearch using the following command:

```auto
curl --cacert /etc/elasticsearch/certs/http_ca.crt -u elastic https://localhost:9200

```

It asks for password for 'elastic' user which I do not have.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [August 4, 2023, 7:48am UTC](https://discuss.elastic.co/t/security-autoconfiguration-information/340100/2 "2023-08-04T07:48:08Z")

</div>

It's printed on the screen when you install. Which guide did you follow? Could you please share the link?

---

<div class="post-metadata">

**Author:** ![usman1](https://avatars.discourse-cdn.com/v4/letter/u/c67d28/32.png) [@usman1](https://discuss.elastic.co/u/usman1)\
**Post date:** [August 4, 2023, 11:20am UTC](https://discuss.elastic.co/t/security-autoconfiguration-information/340100/3 "2023-08-04T11:20:19Z")

</div>

I followed [this guide](https://www.elastic.co/guide/en/elasticsearch/reference/8.9/deb.html#deb-check-running).

Nothing appeared on the screen while installing.

---

<div class="post-metadata">

**Author:** ![usman1](https://avatars.discourse-cdn.com/v4/letter/u/c67d28/32.png) [@usman1](https://discuss.elastic.co/u/usman1)\
**Post date:** [August 4, 2023, 11:32am UTC](https://discuss.elastic.co/t/security-autoconfiguration-information/340100/4 "2023-08-04T11:32:21Z")

</div>

This is the command of installation and its output:

```auto
$ sudo apt-get install elasticsearch
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  elasticsearch
0 upgraded, 1 newly installed, 0 to remove and 50 not upgraded.
Need to get 0 B/606 MB of archives.
After this operation, 1246 MB of additional disk space will be used.
Selecting previously unselected package elasticsearch.
(Reading database ... 110009 files and directories currently installed.)
Preparing to unpack .../elasticsearch_8.9.0_amd64.deb ...
Unpacking elasticsearch (8.9.0) ...
Setting up elasticsearch (8.9.0) ...
Scanning processes...                                                                                                                                                                         
Scanning linux images...                                                                                                                                                                      

Running kernel seems to be up-to-date.

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.

No VM guests are running outdated hypervisor (qemu) binaries on this host.

```

And before this, following commands were entered:

```auto
1 sudo apt update && sudo apt-get install openjdk-8-jdk
2 wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo gpg --dearmor -o /usr/share/keyrings/elasticsearch-keyring.gpg
3 sudo apt-get install apt-transport-https
4 echo "deb [signed-by=/usr/share/keyrings/elasticsearch-keyring.gpg] https://artifacts.elastic.co/packages/8.x/apt stable main" | sudo tee /etc/apt/sources.list.d/elastic-8.x.list
5 sudo apt-get update

```

---

<div class="post-metadata">

**Author:** ![usman1](https://avatars.discourse-cdn.com/v4/letter/u/c67d28/32.png) [@usman1](https://discuss.elastic.co/u/usman1)\
**Post date:** [August 7, 2023, 7:06am UTC](https://discuss.elastic.co/t/security-autoconfiguration-information/340100/5 "2023-08-07T07:06:57Z")

</div>

@dadoonet Any thoughts on it?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [August 7, 2023, 11:32am UTC](https://discuss.elastic.co/t/security-autoconfiguration-information/340100/6 "2023-08-07T11:32:30Z")

</div>

I just did it on 8.9.0 recently here: [Can't start elastic elasticsearch-8.9.0 - #10 by choilee](https://discuss.elastic.co/t/cant-start-elastic-elasticsearch-8-9-0/339299/10)

And the message was printed... So I don't know exactly what happened. What is your OS?

But why did you do this:

```
sudo apt update && sudo apt-get install openjdk-8-jdk

```

?

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [August 7, 2023, 1:33pm UTC](https://discuss.elastic.co/t/security-autoconfiguration-information/340100/7 "2023-08-07T13:33:15Z")

</div>

@usman1

You can simply rest the password

> **[elasticsearch-reset-password | Elasticsearch Guide \[8.9\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/reset-password.html)**

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 4, 2023, 1:34pm UTC](https://discuss.elastic.co/t/security-autoconfiguration-information/340100/8 "2023-09-04T13:34:00Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
