# Https prevents certificate auto renewal - why and what to do?

**URL:** <https://community.letsencrypt.org/t/https-prevents-certificate-auto-renewal-why-and-what-to-do/67564>\
**Category:** Help\
**Created:** [July 24, 2018, 9:42pm UTC](https://community.letsencrypt.org/t/https-prevents-certificate-auto-renewal-why-and-what-to-do/67564 "2018-07-24T21:42:45Z")\
**Posts on this page:** 1\
**Showing post:** 6

<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:** [July 24, 2018, 10:03pm UTC](https://community.letsencrypt.org/t/https-prevents-certificate-auto-renewal-why-and-what-to-do/67564/6 "2018-07-24T22:03:51Z")

</div>

Try:  
`RewriteEngine On`  
`ReweiteRule ^\.well-known\/acme-challenge\/ - [L]`  
`RewriteCond %{HTTP:X-Forwarded-Proto} !https`  
`RewriteRule ^(.*)$ https://spucnottingham.org.uk/$1 [R=301,L]`

---

_[View the full topic](https://community.letsencrypt.org/t/https-prevents-certificate-auto-renewal-why-and-what-to-do/67564)._
