# Issue with some app installs, wget reporting "The certificate is not trusted"

**URL:** <https://forum.yunohost.org/t/issue-with-some-app-installs-wget-reporting-the-certificate-is-not-trusted/11750>\
**Category:** Announcements\
**Tags:** english\
**Created:** [June 4, 2020, 3:23pm UTC](https://forum.yunohost.org/t/issue-with-some-app-installs-wget-reporting-the-certificate-is-not-trusted/11750 "2020-06-04T15:23:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aleks](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aleks/32/1704_2.png) [@Aleks](https://forum.yunohost.org/u/Aleks)\
**Post date:** [June 4, 2020, 3:23pm UTC](https://forum.yunohost.org/t/issue-with-some-app-installs-wget-reporting-the-certificate-is-not-trusted/11750/1 "2020-06-04T15:23:23Z")

</div>

Hi there,

this afternoon we identified an issue which may prevent some installations / upgrade due to a recently expired root CA certificate. As a result, commands like

```auto
wget https://fluxbb.org/

```

may return something like

```auto
ERROR: The certificate of ‘fluxbb.org’ is not trusted.
ERROR: The certificate of ‘fluxbb.org’ has expired.

```

despite the certificate being valid…

Note that:

- this affect some websites but not others depending on their certificate issuer
- the command will work on your laptop if it’s reasonably up to date, but won’t work on your yunohost server

There are detailed explanations available here :

- [https://www.reddit.com/r/linux/comments/gshh70/sectigo\_root\_ca\_expiring\_may\_not\_be\_handled\_well/](https://www.reddit.com/r/linux/comments/gshh70/sectigo_root_ca_expiring_may_not_be_handled_well/)
- [https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=96190](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=96190)
- [https://support.sectigo.com/articles/Knowledge/Sectigo-AddTrust-External-CA-Root-Expiring-May-30-2020](https://support.sectigo.com/articles/Knowledge/Sectigo-AddTrust-External-CA-Root-Expiring-May-30-2020)

A manual fix is to run the following commands on your server:

```auto
sudo sed -i 's@^mozilla/AddTrust_External_Root.crt$@#mozilla/AddTrust_External_Root.crt@g' /etc/ca-certificates.conf
sudo update-ca-certificates -f -v 

```

Debian is expected to release an updated version of [`ca-certificates`](https://packages.debian.org/stretch/ca-certificates) in the coming hours / days, which should fix the issue without any manual tinkering.

---

<div class="post-metadata">

**Author:** ![ant0ine](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/a/ebca7d/32.png) [@ant0ine](https://forum.yunohost.org/u/ant0ine)\
**Post date:** [July 27, 2020, 9:11pm UTC](https://forum.yunohost.org/t/issue-with-some-app-installs-wget-reporting-the-certificate-is-not-trusted/11750/2 "2020-07-27T21:11:03Z")

</div>

@Aleks  
thank you for this report

I have a question about packaging apps (with this issue).  
Would it be a good idea to add the “manual fix” in the install script or is it better to wait for the [`ca-certificates`](https://packages.debian.org/stretch/ca-certificates) update ?

---

<div class="post-metadata">

**Author:** ![Aleks](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aleks/32/1704_2.png) [@Aleks](https://forum.yunohost.org/u/Aleks)\
**Post date:** [July 27, 2020, 9:48pm UTC](https://forum.yunohost.org/t/issue-with-some-app-installs-wget-reporting-the-certificate-is-not-trusted/11750/3 "2020-07-27T21:48:04Z")

</div>

Not sure what’s the relation with “packaging apps” … It was basically a “system” issue caused and fixed by Debian upstream so …?

Edit: ugh now I understand the question I think … it’s fixed in the debian repository so just upgrade your system
