# Renew Certificates

**URL:** <https://forum.search-guard.com/t/renew-certificates/984>\
**Category:** Search Guard\
**Created:** [June 29, 2018, 8:08pm UTC](https://forum.search-guard.com/t/renew-certificates/984 "2018-06-29T20:08:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rudra](https://avatars.discourse-cdn.com/v4/letter/r/47e85d/32.png) [@Rudra](https://forum.search-guard.com/u/Rudra)\
**Post date:** [June 29, 2018, 8:08pm UTC](https://forum.search-guard.com/t/renew-certificates/984/1 "2018-06-29T20:08:01Z")

</div>

When asking questions, please provide the following information:

- Search Guard and Elasticsearch version --\>6

- Installed and used enterprise modules, if any-\>no

- JVM version and operating system version-\>1.8 and centos 6.7

- Search Guard configuration files --\>I will provide the information

- Elasticsearch log messages on debug level

- Other installed Elasticsearch or Kibana plugins, if any

How to renew SSL certificates in serachguard ? Could you please brief me the process

I am thinking

1.install new certificates with keytool

2.self sign them and install with sgadmin

3.configure them in elasticsearch.yml file

Please let me know the process.

Thank You

---

<div class="post-metadata">

**Author:** ![jkressin](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.search-guard.com/jkressin/32/9_2.png) [@jkressin](https://forum.search-guard.com/u/jkressin)\
**Post date:** [July 1, 2018, 10:51am UTC](https://forum.search-guard.com/t/renew-certificates/984/2 "2018-07-01T10:51:13Z")

</div>

This depends if you want to do a rolling restart or if you can afford a full cluster restart. In any case, you do not “install” any certificates with sgadmin, they are just configured in elasticsearch.yml. So in case you can do a full cluster restart:

1. Generate new certificates. You need at least:

- Root CA

- One node certificate (although it’s advisable to have separate certificates for each node)

- One admin certificate

1. Stop all nodes

2. Place the root and node certs in the config directory of ES

3. Change elasticsearch.yml to point to the new certs

4. Start all nodes

That should be all.

> **···**
>
> On Friday, June 29, 2018 at 10:08:02 PM UTC+2, Rudra wrote:
> 
> > When asking questions, please provide the following information:
> 
> > - Search Guard and Elasticsearch version --\>6
> 
> > - Installed and used enterprise modules, if any-\>no
> 
> > - JVM version and operating system version-\>1.8 and centos 6.7
> 
> > - Search Guard configuration files --\>I will provide the information
> 
> > - Elasticsearch log messages on debug level
> 
> > - Other installed Elasticsearch or Kibana plugins, if any
> 
> > 
> 
> > 
> 
> > How to renew SSL certificates in serachguard ? Could you please brief me the process
> 
> > 
> 
> > I am thinking
> 
> > 1.install new certificates with keytool
> 
> > 2.self sign them and install with sgadmin
> 
> > 3.configure them in elasticsearch.yml file
> 
> > 
> 
> > Please let me know the process.
> 
> > 
> 
> > Thank You

---

<div class="post-metadata">

**Author:** ![Rudra](https://avatars.discourse-cdn.com/v4/letter/r/47e85d/32.png) [@Rudra](https://forum.search-guard.com/u/Rudra)\
**Post date:** [July 2, 2018, 1:47am UTC](https://forum.search-guard.com/t/renew-certificates/984/3 "2018-07-02T01:47:30Z")

</div>

Should i run any sgadmin commands after generating new certificates for searchguard.

Thanks for the help.

> **···**
>
> On Jul 1, 2018, at 5:51 AM, Jochen Kressin [jkressin@floragunn.com](mailto:jkressin@floragunn.com) wrote:
> 
> > This depends if you want to do a rolling restart or if you can afford a full cluster restart. In any case, you do not “install” any certificates with sgadmin, they are just configured in elasticsearch.yml. So in case you can do a full cluster restart:
> 
> > 1. Generate new certificates. You need at least:
> 
> > - Root CA
> 
> > - One node certificate (although it’s advisable to have separate certificates for each node)
> 
> > - One admin certificate
> 
> > 1. Stop all nodes
> 
> > 1. Place the root and node certs in the config directory of ES
> 
> > 1. Change elasticsearch.yml to point to the new certs
> 
> > 1. Start all nodes
> 
> > That should be all.
> 
> > On Friday, June 29, 2018 at 10:08:02 PM UTC+2, Rudra wrote:
> > 
> > > When asking questions, please provide the following information:
> 
> > > - Search Guard and Elasticsearch version --\>6
> 
> > > - Installed and used enterprise modules, if any-\>no
> 
> > > - JVM version and operating system version-\>1.8 and centos 6.7
> 
> > > - Search Guard configuration files --\>I will provide the information
> 
> > > - Elasticsearch log messages on debug level
> 
> > > - Other installed Elasticsearch or Kibana plugins, if any
> 
> > >
> 
> > >
> 
> > > How to renew SSL certificates in serachguard ? Could you please brief me the process
> 
> > >
> 
> > > I am thinking
> 
> > > 1.install new certificates with keytool
> 
> > > 2.self sign them and install with sgadmin
> 
> > > 3.configure them in elasticsearch.yml file
> 
> > >
> 
> > > Please let me know the process.
> 
> > >
> 
> > > Thank You
> 
> > –
> > 
> > You received this message because you are subscribed to the Google Groups “Search Guard Community Forum” group.
> > 
> > To unsubscribe from this group and stop receiving emails from it, send an email to [search-guard+unsubscribe@googlegroups.com](mailto:search-guard+unsubscribe@googlegroups.com).
> > 
> > To post to this group, send email to [search-guard@googlegroups.com](mailto:search-guard@googlegroups.com).
> > 
> > To view this discussion on the web visit [https://groups.google.com/d/msgid/search-guard/d2381b32-7c3d-4c5a-a872-1050ced280ef%40googlegroups.com](https://groups.google.com/d/msgid/search-guard/d2381b32-7c3d-4c5a-a872-1050ced280ef%40googlegroups.com?utm_medium=email&utm_source=footer).
> > 
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![uma0308](https://avatars.discourse-cdn.com/v4/letter/u/838e76/32.png) [@uma0308](https://forum.search-guard.com/u/uma0308)\
**Post date:** [October 21, 2019, 11:02am UTC](https://forum.search-guard.com/t/renew-certificates/984/4 "2019-10-21T11:02:26Z")

</div>

Hi Rudra,

can you please share the commands for below steps

1. Generate new certificates. You need at least:

- Root CA
- One node certificate (although it’s advisable to have separate certificates for each node)
- One admin certificate
