# How to set a domain to reuse a key?

**URL:** <https://community.letsencrypt.org/t/how-to-set-a-domain-to-reuse-a-key/212863>\
**Category:** Help\
**Created:** [February 6, 2024, 10:12pm UTC](https://community.letsencrypt.org/t/how-to-set-a-domain-to-reuse-a-key/212863 "2024-02-06T22:12:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Floop](https://avatars.discourse-cdn.com/v4/letter/f/f475e1/32.png) [@Floop](https://community.letsencrypt.org/u/Floop)\
**Post date:** [February 6, 2024, 10:12pm UTC](https://community.letsencrypt.org/t/how-to-set-a-domain-to-reuse-a-key/212863/1 "2024-02-06T22:12:39Z")

</div>

I got a certificate via certbot (besides many others) that is also automatically renewed.

For that one particular certificate, I want certbot to reuse the key.

I found this answer that tells me that is possible via cli.ini: [Certificate renewal: using the same private key - #2 by rg305](https://community.letsencrypt.org/t/certificate-renewal-using-the-same-private-key/173621/2)

However, I want to limit this setting to a single domain/certificate. Is that possible somehow?

---

<div class="post-metadata">

**Author:** ![rg305](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/rg305/32/91314_2.png) [@rg305](https://community.letsencrypt.org/u/rg305)\
**Post date:** [February 6, 2024, 10:20pm UTC](https://community.letsencrypt.org/t/how-to-set-a-domain-to-reuse-a-key/212863/2 "2024-02-06T22:20:32Z")

</div>

Hi @Floop, and welcome to the LE community forum 🙂

I think you can put the setting directly into the renewal config files(s) that require that specific setting.  
Peruse the folder:  
`/etc/letsencrypt/renewal/`  
And the docs:  
[User Guide — Certbot 2.9.0.dev0 documentation (eff-certbot.readthedocs.io)](https://eff-certbot.readthedocs.io/en/latest/using.html)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/letsencrypt/original/3X/c/a/ca6c06ea1ea201324bba7048c6841ce60236468d.png) [@system](https://community.letsencrypt.org/u/system)\
**Post date:** [March 7, 2024, 10:20pm UTC](https://community.letsencrypt.org/t/how-to-set-a-domain-to-reuse-a-key/212863/3 "2024-03-07T22:20:59Z")

</div>

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