# Renew certificate - certonly

**URL:** <https://community.letsencrypt.org/t/renew-certificate-certonly/25899>\
**Category:** Server\
**Created:** [January 17, 2017, 3:46pm UTC](https://community.letsencrypt.org/t/renew-certificate-certonly/25899 "2017-01-17T15:46:38Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Waishon](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/waishon/32/10318_2.png) [@Waishon](https://community.letsencrypt.org/u/Waishon)\
**Post date:** [January 17, 2017, 3:46pm UTC](https://community.letsencrypt.org/t/renew-certificate-certonly/25899/1 "2017-01-17T15:46:38Z")

</div>

Hi,

I’m currently trying to automate my renewal, but I’ve used the manual and certonly mode, because anything else won’t work on my OS (I’ve tried that). Now everytime I try to renew it, it asks, what I want to do:  
./certbot-auto certonly --manual -d [xxx.org](http://xxx.org)

It asks:  
1: Keep the existing certificate for now  
2: Renew & replace the cert (limit ~5 per 7 days)

Is there a way or a parameter to select 2 as default without asking for it?

Thanks

---

<div class="post-metadata">

**Author:** ![schoen](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/schoen/32/79_2.png) [@schoen](https://community.letsencrypt.org/u/schoen)\
**Post date:** [January 18, 2017, 8:33pm UTC](https://community.letsencrypt.org/t/renew-certificate-certonly/25899/2 "2017-01-18T20:33:12Z")

</div>

@Waishon, I don’t know if you’re waiting as long between renewals as Certbot expects, but you should be able to bypass that question by adding `--force-renew` to your Certbot command line.

---

<div class="post-metadata">

**Author:** ![Waishon](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/waishon/32/10318_2.png) [@Waishon](https://community.letsencrypt.org/u/Waishon)\
**Post date:** [January 18, 2017, 9:07pm UTC](https://community.letsencrypt.org/t/renew-certificate-certonly/25899/3 "2017-01-18T21:07:05Z")

</div>

Thanks! That works fine, but now it ask to “Press Enter to continue” after the meassage saying that you have to put the mentioned file in the web directory. Is there also a parameter to simulate the “Enter”?

---

<div class="post-metadata">

**Author:** ![schoen](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/schoen/32/79_2.png) [@schoen](https://community.letsencrypt.org/u/schoen)\
**Post date:** [January 18, 2017, 11:10pm UTC](https://community.letsencrypt.org/t/renew-certificate-certonly/25899/4 "2017-01-18T23:10:17Z")

</div>

I don’t think so; it’s part of the concept of `manual` (that you’re going to be sitting there as a human being interacting with it). Could you tell us more about what you’re trying to do or what kinds of problems you’ve encountered with the other modes?

---

<div class="post-metadata">

**Author:** ![schoen](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/schoen/32/79_2.png) [@schoen](https://community.letsencrypt.org/u/schoen)\
**Post date:** [January 18, 2017, 11:15pm UTC](https://community.letsencrypt.org/t/renew-certificate-certonly/25899/5 "2017-01-18T23:15:56Z")

</div>

On second thought, support for using external scripts has been added to `manual` and should be an option for you, if you’re familiar with shell scripting. This allows authenticating with scripts that perform the tasks and the `manual` authenticator can then be run non-interactively.

---

<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:** [February 17, 2017, 11:30pm UTC](https://community.letsencrypt.org/t/renew-certificate-certonly/25899/6 "2017-02-17T23:30:44Z")

</div>

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