# \[Solved\] Mattermost expired certificate error

**URL:** <https://forum.mattermost.com/t/solved-mattermost-expired-certificate-error/1670>\
**Category:** Troubleshooting\
**Created:** [June 9, 2016, 2:49pm UTC](https://forum.mattermost.com/t/solved-mattermost-expired-certificate-error/1670 "2016-06-09T14:49:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![enormandeau](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/enormandeau/32/724_2.png) [@enormandeau](https://forum.mattermost.com/u/enormandeau)\
**Post date:** [June 9, 2016, 2:49pm UTC](https://forum.mattermost.com/t/solved-mattermost-expired-certificate-error/1670/1 "2016-06-09T14:49:30Z")

</div>

We have MM 3.0 Version: 3.0.0 (3.0.2) installed in a VM on a Debian system. I updated to version 3 a bit over two weeks ago and everything seemed to work find.

Since yesterday, I get 304 errors in my Linux Mattermost Desktop 1.1.1. People in the group using apps on Windows and MacOS, as well as in different browsers and on android devices get Expired Certificate errors.

Here is a sample error message I get:

* * *

Your connection is not private

## Attackers might be trying to steal your information from (for example, passwords, messages or credit cards). NET::ERR\_CERT\_DATE\_INVALID

Would this have to do with the Mattermost installation or the server settings? Could the web-facing server have been tempered with?

Thanks

---

<div class="post-metadata">

**Author:** ![bakoo](https://avatars.discourse-cdn.com/v4/letter/b/59ef9b/32.png) [@bakoo](https://forum.mattermost.com/u/bakoo)\
**Post date:** [June 9, 2016, 8:24pm UTC](https://forum.mattermost.com/t/solved-mattermost-expired-certificate-error/1670/2 "2016-06-09T20:24:13Z")

</div>

Which SSL certificate did you use when you first installed Mattermost?  
If you used a free LetsEncrypt SSL certificate ([as recommended](http://docs.mattermost.com/install/prod-ubuntu.html#set-up-nginx-with-ssl-recommended)), you’ll have to renew it every three months or you’ll get this error message.

---

<div class="post-metadata">

**Author:** ![enormandeau](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/enormandeau/32/724_2.png) [@enormandeau](https://forum.mattermost.com/u/enormandeau)\
**Post date:** [June 10, 2016, 1:20pm UTC](https://forum.mattermost.com/t/solved-mattermost-expired-certificate-error/1670/3 "2016-06-10T13:20:01Z")

</div>

I did use a free LetsEncrypt SSL certificate. Thanks for the reply, I should be able to fix the problem now.

---

<div class="post-metadata">

**Author:** ![enormandeau](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/enormandeau/32/724_2.png) [@enormandeau](https://forum.mattermost.com/u/enormandeau)\
**Post date:** [June 10, 2016, 5:05pm UTC](https://forum.mattermost.com/t/solved-mattermost-expired-certificate-error/1670/4 "2016-06-10T17:05:46Z")

</div>

Problem solved with:

```bash
sudo /root/letsencrypt/letsencrypt-auto certonly --standalone \
    --reinstall -d <server name> && sudo service nginx reload

```

Also updated crontab with `crontab -e` with the same line run monthly.
