# Waiting for the transport certificates (/mnt/elastic-internal/transport-certificates/elasticsearch-sample-es-default-0.tls.key)

**URL:** <https://discuss.elastic.co/t/waiting-for-the-transport-certificates-mnt-elastic-internal-transport-certificates-elasticsearch-sample-es-default-0-tls-key/209313>\
**Category:** Elastic Cloud on Kubernetes (ECK)\
**Created:** [November 25, 2019, 1:36pm UTC](https://discuss.elastic.co/t/waiting-for-the-transport-certificates-mnt-elastic-internal-transport-certificates-elasticsearch-sample-es-default-0-tls-key/209313 "2019-11-25T13:36:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ftyuuu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ftyuuu/32/58288_2.png) [@ftyuuu](https://discuss.elastic.co/u/ftyuuu)\
**Post date:** [November 25, 2019, 1:36pm UTC](https://discuss.elastic.co/t/waiting-for-the-transport-certificates-mnt-elastic-internal-transport-certificates-elasticsearch-sample-es-default-0-tls-key/209313/1 "2019-11-25T13:36:13Z")

</div>

I want to debug es, so i commented on the following code in cmd/manager/main.go. But pod stop at init container (elastic-internal-init-filesystem).

```auto
      if operator.HasRole(operator.NamespaceOperator, roles) {
		//if err = apmserver.Add(mgr, params); err != nil {
		//	log.Error(err, "unable to create controller", "controller", "ApmServer")
		//	os.Exit(1)
		//}
		if err = elasticsearch.Add(mgr, params); err != nil {
			log.Error(err, "unable to create controller", "controller", "Elasticsearch")
			os.Exit(1)
		}
		//if err = kibana.Add(mgr, params); err != nil {
		//	log.Error(err, "unable to create controller", "controller", "Kibana")
		//	os.Exit(1)
		//}
		//if err = asesassn.Add(mgr, params); err != nil {
		//	log.Error(err, "unable to create controller", "controller", "ApmServerElasticsearchAssociation")
		//	os.Exit(1)
		//}
		//if err = kbassn.Add(mgr, params); err != nil {
		//	log.Error(err, "unable to create controller", "controller", "KibanaAssociation")
		//	os.Exit(1)
		//}
	}

```

Logs:

```auto
Starting init script
...
'/usr/share/elasticsearch/bin/x-pack' -> '/mnt/elastic-internal/elasticsearch-bin-local/x-pack'
'/usr/share/elasticsearch/bin/x-pack/certgen' -> '/mnt/elastic-internal/elasticsearch-bin-local/x-pack/certgen'
'/usr/share/elasticsearch/bin/x-pack/users' -> '/mnt/elastic-internal/elasticsearch-bin-local/x-pack/users'
'/usr/share/elasticsearch/bin/x-pack/saml-metadata.bat' -> '/mnt/elastic-internal/elasticsearch-bin-local/x-pack/saml-metadata.bat'
'/usr/share/elasticsearch/bin/x-pack/sql-cli.bat' -> '/mnt/elastic-internal/elasticsearch-bin-local/x-pack/sql-cli.bat'
'/usr/share/elasticsearch/bin/x-pack/croneval' -> '/mnt/elastic-internal/elasticsearch-bin-local/x-pack/croneval'
'/usr/share/elasticsearch/bin/x-pack/certutil' -> '/mnt/elastic-internal/elasticsearch-bin-local/x-pack/certutil'
'/usr/share/elasticsearch/bin/x-pack/sql-cli' -> '/mnt/elastic-internal/elasticsearch-bin-local/x-pack/sql-cli'
'/usr/share/elasticsearch/bin/x-pack/migrate.bat' -> '/mnt/elastic-internal/elasticsearch-bin-local/x-pack/migrate.bat'
'/usr/share/elasticsearch/bin/x-pack/certutil.bat' -> '/mnt/elastic-internal/elasticsearch-bin-local/x-pack/certutil.bat'
'/usr/share/elasticsearch/bin/x-pack/setup-passwords' -> '/mnt/elastic-internal/elasticsearch-bin-local/x-pack/setup-passwords'
'/usr/share/elasticsearch/bin/x-pack/setup-passwords.bat' -> '/mnt/elastic-internal/elasticsearch-bin-local/x-pack/setup-passwords.bat'
'/usr/share/elasticsearch/bin/x-pack/certgen.bat' -> '/mnt/elastic-internal/elasticsearch-bin-local/x-pack/certgen.bat'
'/usr/share/elasticsearch/bin/x-pack/croneval.bat' -> '/mnt/elastic-internal/elasticsearch-bin-local/x-pack/croneval.bat'
'/usr/share/elasticsearch/bin/x-pack/syskeygen.bat' -> '/mnt/elastic-internal/elasticsearch-bin-local/x-pack/syskeygen.bat'
'/usr/share/elasticsearch/bin/x-pack/saml-metadata' -> '/mnt/elastic-internal/elasticsearch-bin-local/x-pack/saml-metadata'
'/usr/share/elasticsearch/bin/x-pack/syskeygen' -> '/mnt/elastic-internal/elasticsearch-bin-local/x-pack/syskeygen'
'/usr/share/elasticsearch/bin/x-pack/migrate' -> '/mnt/elastic-internal/elasticsearch-bin-local/x-pack/migrate'
'/usr/share/elasticsearch/bin/x-pack/users.bat' -> '/mnt/elastic-internal/elasticsearch-bin-local/x-pack/users.bat'
'/usr/share/elasticsearch/bin/x-pack-env' -> '/mnt/elastic-internal/elasticsearch-bin-local/x-pack-env'
'/usr/share/elasticsearch/bin/x-pack-env.bat' -> '/mnt/elastic-internal/elasticsearch-bin-local/x-pack-env.bat'
'/usr/share/elasticsearch/bin/x-pack-security-env' -> '/mnt/elastic-internal/elasticsearch-bin-local/x-pack-security-env'
'/usr/share/elasticsearch/bin/x-pack-security-env.bat' -> '/mnt/elastic-internal/elasticsearch-bin-local/x-pack-security-env.bat'
'/usr/share/elasticsearch/bin/x-pack-watcher-env' -> '/mnt/elastic-internal/elasticsearch-bin-local/x-pack-watcher-env'
'/usr/share/elasticsearch/bin/x-pack-watcher-env.bat' -> '/mnt/elastic-internal/elasticsearch-bin-local/x-pack-watcher-env.bat'
Files copy duration: 0 sec.
chowning /usr/share/elasticsearch/data to elasticsearch:elasticsearch
ownership of '/usr/share/elasticsearch/data' retained as elasticsearch:elasticsearch
chowning /usr/share/elasticsearch/logs to elasticsearch:elasticsearch
changed ownership of '/usr/share/elasticsearch/logs' from root:root to elasticsearch:elasticsearch
chown duration: 0 sec.
waiting for the transport certificates (/mnt/elastic-internal/transport-certificates/elasticsearch-sample-es-default-0.tls.key)

```

what should i do?

---

<div class="post-metadata">

**Author:** ![sebgl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sebgl/32/48702_2.png) [@sebgl](https://discuss.elastic.co/u/sebgl)\
**Post date:** [November 26, 2019, 9:11am UTC](https://discuss.elastic.co/t/waiting-for-the-transport-certificates-mnt-elastic-internal-transport-certificates-elasticsearch-sample-es-default-0-tls-key/209313/2 "2019-11-26T09:11:08Z")

</div>

Already answered on Github: [https://github.com/elastic/cloud-on-k8s/issues/2169](https://github.com/elastic/cloud-on-k8s/issues/2169)  
(no need to create threads in both places).

---

<div class="post-metadata">

**Author:** ![ftyuuu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ftyuuu/32/58288_2.png) [@ftyuuu](https://discuss.elastic.co/u/ftyuuu)\
**Post date:** [November 26, 2019, 11:28am UTC](https://discuss.elastic.co/t/waiting-for-the-transport-certificates-mnt-elastic-internal-transport-certificates-elasticsearch-sample-es-default-0-tls-key/209313/3 "2019-11-26T11:28:32Z")

</div>

ok, thanks!

---

<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:** [November 4, 2022, 7:34am UTC](https://discuss.elastic.co/t/waiting-for-the-transport-certificates-mnt-elastic-internal-transport-certificates-elasticsearch-sample-es-default-0-tls-key/209313/4 "2022-11-04T07:34:45Z")

</div>


