# Regenerate certificates

**URL:** https://discuss.elastic.co/t/regenerate-certificates/368238
**Category:** Elasticsearch
**Created:** [October 4, 2024, 8:05am UTC](https://discuss.elastic.co/t/regenerate-certificates/368238 "2024-10-04T08:05:18Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![cyberzlo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cyberzlo/32/65490_2.png) [@cyberzlo](https://discuss.elastic.co/u/cyberzlo)
#### Post date: [October 4, 2024, 8:05am UTC](https://discuss.elastic.co/t/regenerate-certificates/368238/1 "2024-10-04T08:05:18Z")

</div>

How can I regenerate certificates same as Ubuntu package is doing it after install? How this installation script looks like / where can I found it? I need extend certificate (regenerate) after 2 years. Looks like there is no buildin option for that and when I create the names etc are diffrent. Best way would be buildin option for that or commands which are used by installator, I am looking for non-interactive way, as I need do it for many enviroment and would like only transfer HTTP certificate for other logstashes.

---

<div class="post-metadata">

### Author: ![cyberzlo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cyberzlo/32/65490_2.png) [@cyberzlo](https://discuss.elastic.co/u/cyberzlo)
#### Post date: [October 25, 2024, 7:17am UTC](https://discuss.elastic.co/t/regenerate-certificates/368238/2 "2024-10-25T07:17:41Z")

</div>

Any idea how to solve this? Does no one have such problems? How do you extend the certificate? Why does the installer do it easily himself and then there is no possibility of regenerating it without a lot of manual work?
