# Testing renewal

**URL:** <https://community.letsencrypt.org/t/testing-renewal/113196>\
**Category:** Help\
**Created:** [February 14, 2020, 1:08pm UTC](https://community.letsencrypt.org/t/testing-renewal/113196 "2020-02-14T13:08:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![john\_techie](https://avatars.discourse-cdn.com/v4/letter/j/b38774/32.png) [@john\_techie](https://community.letsencrypt.org/u/john_techie)\
**Post date:** [February 14, 2020, 1:08pm UTC](https://community.letsencrypt.org/t/testing-renewal/113196/1 "2020-02-14T13:08:16Z")

</div>

Hi,  
in order to prepare for multiple vantage point validation (as in [ACME v1/v2: Validating challenges from multiple network vantage points](https://community.letsencrypt.org/t/acme-v1-v2-validating-challenges-from-multiple-network-vantage-points/112253) ) I’d like to know how to safely test certifcate renewal.  
We’re using certbot and we already successfully tested a new certificate emission. Is there any way to test renewal without having an expiring certificate?  
Thank you in advance

---

<div class="post-metadata">

**Author:** ![stevenzhu](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/stevenzhu/32/18864_2.png) [@stevenzhu](https://community.letsencrypt.org/u/stevenzhu)\
**Post date:** [February 14, 2020, 1:14pm UTC](https://community.letsencrypt.org/t/testing-renewal/113196/2 "2020-02-14T13:14:18Z")

</div>

Hi,

According to the announcement, this change is already deployed to staging environment. In this case, the best way to test is to use the staging environment:  
If you didn’t have any current certificate issued for your domain, issue one with staging.  
If you already have current certificate issued and want to make sure renewal would work, simply run `certbot renew --dry-run`. (This will test your renewal with staging system)

Thank you

---

<div class="post-metadata">

**Author:** ![john\_techie](https://avatars.discourse-cdn.com/v4/letter/j/b38774/32.png) [@john\_techie](https://community.letsencrypt.org/u/john_techie)\
**Post date:** [February 14, 2020, 1:45pm UTC](https://community.letsencrypt.org/t/testing-renewal/113196/3 "2020-02-14T13:45:38Z")

</div>

Thank you for the answer.

I’m currently using --server certbot param to point to staging server:  
–server [https://acme-staging-v02.api.letsencrypt.org/directory](https://acme-staging-v02.api.letsencrypt.org/directory)

Is it equivalent to using --dry-run (except the latter skips final updaters) ?

In my first question I wanted to know wether I’m able to fully test certicate renewal, based I’ve not an expiring certificate (when testing with current issued certificates I get a warning like “certificate not due for renewal”)

Thank you

---

<div class="post-metadata">

**Author:** ![stevenzhu](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/stevenzhu/32/18864_2.png) [@stevenzhu](https://community.letsencrypt.org/u/stevenzhu)\
**Post date:** [February 14, 2020, 1:52pm UTC](https://community.letsencrypt.org/t/testing-renewal/113196/4 "2020-02-14T13:52:03Z")

</div>

> [@john\_techie](#):
>
> In my first question I wanted to know wether I’m able to fully test certicate renewal, based I’ve not an expiring certificate (when testing with current issued certificates I get a warning like “certificate not due for renewal”)

This is how the dry run is for😁

If you wish to request a new certificate, issue one with server directive specified (like how you did). For renewal (testing), just use dry run and simulate the renewal (in staging). Dry-run will also not change your certificate content or issue a new certificate into your existing one.

Thank you

---

<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:** [April 11, 2020, 9:55am UTC](https://community.letsencrypt.org/t/testing-renewal/113196/6 "2020-04-11T09:55:24Z")

</div>

Closed on April 11, 2020, 9:55am UTC

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