# Problem with certificate

**URL:** <https://help.nextcloud.com/t/problem-with-certificate/50831>\
**Category:** 📦 Appliances (Docker, Snappy, VM, NCP, AIO)\
**Created:** [April 3, 2019, 7:45am UTC](https://help.nextcloud.com/t/problem-with-certificate/50831 "2019-04-03T07:45:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![steffo](https://help.nextcloud.com/letter_avatar/steffo/32/5_5575768a8748004e209b776fc1b2916d.png) [@steffo](https://help.nextcloud.com/u/steffo)\
**Post date:** [April 3, 2019, 7:45am UTC](https://help.nextcloud.com/t/problem-with-certificate/50831/1 "2019-04-03T07:45:19Z")

</div>

Dear NCP users,

I was using NCP on a raspberry 3 for a few months now and was quite happy. However, since two days I cannot login via the webinterface anymore, and my calendar apps (phone, pc,…) tell me they cannot sync because of a wrong/outdated security certificate.

Thus I tried to run the letsencrypt command to get a new one. However, I always received the error, that the verification process of the certificate did fail and I should check my A/AAAA configuration. I do have port forwarding for 80 and 443 set up on my router.

After some googling, I could renew the certificate by deactivating the “httpsonly” functionality in ncp. But still, I can’t access the webinterface of nc, nor can I sync my calendars - independent if I switch the “httpsonly” on or off.

I can access the raspberry via ssh or the RASPBERRYIPADRESS:4443 from within the network though (how I could apply the above mentioned changes).

The info panel gives the following output:

## System Info

| NextCloudPi version | v1.10.9 |
| --- | --- |
| NextCloudPi image | NextCloudPi\_11-22-18 |
| distribution | Raspbian GNU/Linux 9 \n \l |
| automount | yes |
| USB devices | sda |
| datadir | /media/USBdrive/ncdata |
| data in SD | no |
| data filesystem | btrfs |
| data disk usage | 931G/932G |
| rootfs usage | 2.0G/15G |
| swapfile | /var/swap |
| dbdir | /var/lib/mysql |
| Nextcloud check | ok |
| Nextcloud version | 15.0.5.3 |
| HTTPD service | up |
| PHP service | up |
| MariaDB service | up |
| Redis service | up |
| Postfix service | up |
| internet check | ok |
| port check 80 | open |
| port check 443 | open |
| IP | 192.168.178.2 |
| gateway | 192.168.178.1 |
| interface | eth0 |
| certificates | [XXXXXXXXX.myfritz.net](http://XXXXXXXXX.myfritz.net) |
| NAT loopback | no |
| uptime | 11min |

What else could I check/do?  
Thank you

---

<div class="post-metadata">

**Author:** ![steffo](https://help.nextcloud.com/letter_avatar/steffo/32/5_5575768a8748004e209b776fc1b2916d.png) [@steffo](https://help.nextcloud.com/u/steffo)\
**Post date:** [April 3, 2019, 5:52pm UTC](https://help.nextcloud.com/t/problem-with-certificate/50831/2 "2019-04-03T17:52:41Z")

</div>

Ok, so this looks like a repetition from this issue. I could solve it for now by deleting the  
`/etc/letsencrypt/live/WEB_ADDRESS` folder and then removing the -0001 from the folder  
`/etc/letsencrypt/live/WEB_ADDRESS-0001`  
Hopefully that works for you too!

> [@Certificate is expired but not renewed](https://help.nextcloud.com/t/certificate-is-expired-but-not-renewed/50015):
>
> Hello, i have a problem with my NextcloudPi instance. My letsencrypt certificate is expired (as shown by my webbrowser) and is not automatically renewed. I tried to use ncp-config to get manually a new certificate but the output is Saving debug log to /var/log/letsencrypt/letsencrypt.log Plugins selected: Authenticator webroot, Installer None Cert not yet due for renewal Keeping the existing certificate - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Certifica…

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 4, 2024, 9:40am UTC](https://help.nextcloud.com/t/problem-with-certificate/50831/3 "2024-12-04T09:40:03Z")

</div>



---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 11, 2024, 2:44pm UTC](https://help.nextcloud.com/t/problem-with-certificate/50831/4 "2024-12-11T14:44:27Z")

</div>


