# NET::ERR\_CERT\_AUTHORITY\_INVALID error on my website

**URL:** <https://community.letsencrypt.org/t/net-err-cert-authority-invalid-error-on-my-website/55334>\
**Category:** Help\
**Created:** [March 11, 2018, 6:20am UTC](https://community.letsencrypt.org/t/net-err-cert-authority-invalid-error-on-my-website/55334 "2018-03-11T06:20:14Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![indomito](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/indomito/32/21103_2.png) [@indomito](https://community.letsencrypt.org/u/indomito)\
**Post date:** [March 11, 2018, 6:20am UTC](https://community.letsencrypt.org/t/net-err-cert-authority-invalid-error-on-my-website/55334/1 "2018-03-11T06:20:14Z")

</div>

Hello!

All of a sudden I’m receiving this error when browsing my website [https://solocodigo.com](https://solocodigo.com)

Does anyone know what might be going on?

Any help will be appreciated.

Sergio

---

<div class="post-metadata">

**Author:** ![Fransenson](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/fransenson/32/21109_2.png) [@Fransenson](https://community.letsencrypt.org/u/Fransenson)\
**Post date:** [March 11, 2018, 7:53am UTC](https://community.letsencrypt.org/t/net-err-cert-authority-invalid-error-on-my-website/55334/2 "2018-03-11T07:53:47Z")

</div>

I am facing the same issue at the moment.

---

<div class="post-metadata">

**Author:** ![sahsanu](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/sahsanu/32/89984_2.png) [@sahsanu](https://community.letsencrypt.org/u/sahsanu)\
**Post date:** [March 11, 2018, 8:11am UTC](https://community.letsencrypt.org/t/net-err-cert-authority-invalid-error-on-my-website/55334/3 "2018-03-11T08:11:50Z")

</div>

Hola @indomito,

Your web server is not serving the intermediate certificate:

```
$ echo | openssl s_client -connect solocodigo.com:443 -servername solocodigo.com 2>/dev/null | awk '/Certificate chain/,/---/'
Certificate chain
 0 s:/CN=solocodigo.com
   i:/C=US/O=Let's Encrypt/CN=Let's Encrypt Authority X3
---

```

And the ouput of above command should be:

```
Certificate chain
 0 s:/CN=solocodigo.com
   i:/C=US/O=Let's Encrypt/CN=Let's Encrypt Authority X3
 1 s:/C=US/O=Let's Encrypt/CN=Let's Encrypt Authority X3
   i:/O=Digital Signature Trust Co./CN=DST Root CA X3
---

```

I don’t know what is your web server but you should serve the `fullchain.pem` file as the certificate file instead of `cert.pem` file or you should use `cert.pem` and `chain.pem`, no idea how to configure this in your CentOS WebPanel but the problem is that you are not serving the intermediate certificate for Let’s Encrypt and you should ;).

Un saludo,  
sahsanu

---

<div class="post-metadata">

**Author:** ![volkerh](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/volkerh/32/21107_2.png) [@volkerh](https://community.letsencrypt.org/u/volkerh)\
**Post date:** [March 11, 2018, 8:25am UTC](https://community.letsencrypt.org/t/net-err-cert-authority-invalid-error-on-my-website/55334/4 "2018-03-11T08:25:47Z")

</div>

I have the same problem. Until yesterday everything was fine. Today I am getting errors with Chrome and iPhone, Firefox is still fine.

I cannot renew the cert, because it is still valid. I am using the certbot and serving the fullchain.pem.

Thank you in advance!

---

<div class="post-metadata">

**Author:** ![sahsanu](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/sahsanu/32/89984_2.png) [@sahsanu](https://community.letsencrypt.org/u/sahsanu)\
**Post date:** [March 11, 2018, 8:27am UTC](https://community.letsencrypt.org/t/net-err-cert-authority-invalid-error-on-my-website/55334/5 "2018-03-11T08:27:04Z")

</div>

Hi @volkerh,

What is your domain name?.

Cheers,  
sahsanu

---

<div class="post-metadata">

**Author:** ![volkerh](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/volkerh/32/21107_2.png) [@volkerh](https://community.letsencrypt.org/u/volkerh)\
**Post date:** [March 11, 2018, 8:35am UTC](https://community.letsencrypt.org/t/net-err-cert-authority-invalid-error-on-my-website/55334/6 "2018-03-11T08:35:16Z")

</div>

its [analytics.ihubserver.de](http://analytics.ihubserver.de)

---

<div class="post-metadata">

**Author:** ![sahsanu](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/sahsanu/32/89984_2.png) [@sahsanu](https://community.letsencrypt.org/u/sahsanu)\
**Post date:** [March 11, 2018, 8:39am UTC](https://community.letsencrypt.org/t/net-err-cert-authority-invalid-error-on-my-website/55334/7 "2018-03-11T08:39:06Z")

</div>

@volkerh, double check your web server config because you are not serving the intermediate cert too:

```
$ echo | openssl s_client -connect analytics.ihubserver.de:443 -servername analytics.ihubserver.de 2>/dev/null | awk '/Certificate chain/,/---/'
Certificate chain
 0 s:/CN=analytics.ihubserver.de
   i:/C=US/O=Let's Encrypt/CN=Let's Encrypt Authority X3
---
```

---

<div class="post-metadata">

**Author:** ![volkerh](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/volkerh/32/21107_2.png) [@volkerh](https://community.letsencrypt.org/u/volkerh)\
**Post date:** [March 11, 2018, 9:06am UTC](https://community.letsencrypt.org/t/net-err-cert-authority-invalid-error-on-my-website/55334/8 "2018-03-11T09:06:10Z")

</div>

Thanks a lot @sahsanu

I compared the fullchain and cert.pem by `diff -y fullchain.pem cert.pem` resulting in the same file.

Why is that and how to correct it?

---

<div class="post-metadata">

**Author:** ![sahsanu](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/sahsanu/32/89984_2.png) [@sahsanu](https://community.letsencrypt.org/u/sahsanu)\
**Post date:** [March 11, 2018, 9:15am UTC](https://community.letsencrypt.org/t/net-err-cert-authority-invalid-error-on-my-website/55334/9 "2018-03-11T09:15:37Z")

</div>

> [@volkerh](#):
>
> I compared the fullchain and cert.pem by diff -y fullchain.pem cert.pem resulting in the same file.

I don't know how that happened but `fullchain.pem` is the concatenation of `cert.pem` and `chain.pem`, so you should add the `chain.pem` content to your `fullchain.pem`.

In case you don't have the intermediate cert you can get it here [https://letsencrypt.org/certs/lets-encrypt-x3-cross-signed.pem.txt](https://letsencrypt.org/certs/lets-encrypt-x3-cross-signed.pem.txt)

But, it is really strange and you should review the process to know how `fullchain.pem` is not including the intermediate cert.

---

<div class="post-metadata">

**Author:** ![indomito](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/indomito/32/21103_2.png) [@indomito](https://community.letsencrypt.org/u/indomito)\
**Post date:** [March 11, 2018, 9:16am UTC](https://community.letsencrypt.org/t/net-err-cert-authority-invalid-error-on-my-website/55334/10 "2018-03-11T09:16:19Z")

</div>

Hola sahsanu,

I was missing the chain.crt file. For some reason my SSLCertificateChainFile was pointing to a solocodigo.com.bundle file that was empty. I reissued the certificate and I got a chain.crt file. Looks like it’s working now 🙂

Muchas gracias!

---

<div class="post-metadata">

**Author:** ![sahsanu](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/sahsanu/32/89984_2.png) [@sahsanu](https://community.letsencrypt.org/u/sahsanu)\
**Post date:** [March 11, 2018, 9:18am UTC](https://community.letsencrypt.org/t/net-err-cert-authority-invalid-error-on-my-website/55334/11 "2018-03-11T09:18:47Z")

</div>

Buenas @indomito,

Perfecto 😉 , I’m glad you get it working now.

Un placer,  
sahsanu

---

<div class="post-metadata">

**Author:** ![Hgg](https://avatars.discourse-cdn.com/v4/letter/h/c89c15/32.png) [@Hgg](https://community.letsencrypt.org/u/Hgg)\
**Post date:** [March 11, 2018, 10:00am UTC](https://community.letsencrypt.org/t/net-err-cert-authority-invalid-error-on-my-website/55334/12 "2018-03-11T10:00:47Z")

</div>

I have the same problem also ![2018-03-11_180001](https://global.discourse-cdn.com/letsencrypt/original/3X/7/b/7bf2262fa1a04d6d14cbe8ca058f58d05fc5ff5a.png)  
change this configuration,but not ok?

---

<div class="post-metadata">

**Author:** ![sahsanu](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/sahsanu/32/89984_2.png) [@sahsanu](https://community.letsencrypt.org/u/sahsanu)\
**Post date:** [March 11, 2018, 10:16am UTC](https://community.letsencrypt.org/t/net-err-cert-authority-invalid-error-on-my-website/55334/13 "2018-03-11T10:16:48Z")

</div>

Hi @Hgg,

Show the output of this command:

`cat /home/pc_apa01/instance/https/ca/fullchain.pem`

Cheers,  
sahsanu

---

<div class="post-metadata">

**Author:** ![Hgg](https://avatars.discourse-cdn.com/v4/letter/h/c89c15/32.png) [@Hgg](https://community.letsencrypt.org/u/Hgg)\
**Post date:** [March 11, 2018, 10:18am UTC](https://community.letsencrypt.org/t/net-err-cert-authority-invalid-error-on-my-website/55334/14 "2018-03-11T10:18:46Z")

</div>

cat fullchain.pem

```
-----BEGIN CERTIFICATE-----
MIIE+zCCA+OgAwIBAgISA75OFA2KDrg4W9HDAv8pkxHQMA0GCSqGSIb3DQEBCwUA
MEoxCzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1MZXQncyBFbmNyeXB0MSMwIQYDVQQD
ExpMZXQncyBFbmNyeXB0IEF1dGhvcml0eSBYMzAeFw0xODAzMTEwNzQwNTRaFw0x
ODA2MDkwNzQwNTRaMBcxFTATBgNVBAMTDHd3dy53Z2F0cy5jbjCCASIwDQYJKoZI
hvcNAQEBBQADggEPADCCAQoCggEBALSQF//8GqHMkN7nIoV5AUrmqmRhCXXI3DTI
LhLz7KxpQv6QPIsIyS+q37X0/4eLt0jozyV13fgYWpK/0Q3d7g9Wvvodn9tBghzB
bylcFBV2u+oLZ9sp6hWTJ4kzOIRNvseJZMD82+3+vaogbMvSGEqDnVD4cGvZ2iP7
DnHAZDwQ66twctAD75bQBhu+MqghZMpiYGbcAvc6OJ8GcogH7HJcizrcT9ryVLYz
6SHX1GvU0Qwe8HlzvVYb4gSjVK+cfeNTY34tAJeU+16/3ul8tgrKxSoSqDy0l82/
sYIopTdm6lbTSh1y5vAAPSj2k+JiuNXesEPHxNzNbaJVum2Apm8CAwEAAaOCAgww
ggIIMA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUH
AwIwDAYDVR0TAQH/BAIwADAdBgNVHQ4EFgQUiy/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sLmlkZW50cnVzdC5jb20vRFNUUk9PVENBWDNDUkwu
Y3JsMB0GA1UdDgQWBBSoSmpjBH3duubRObemRWXv86jsoTANBgkqhkiG9w0BAQsF
AAOCAQEA3TPXEfNjWDjdGBX7CVW+dla5cEilaUcne8IkCJLxWh9KEik3JHRRHGJo
uM2VcGfl96S8TihRzZvoroed6ti6WqEBmtzw3Wodatg+VyOeph4EYpr/1wXKtx8/
wApIvJSwtmVi4MFU5aMqrSDE6ea73Mj2tcMyo5jMd6jmeWUHK8so/joWUoHOUgwu
X4Po1QYz+3dszkDqMp4fklxBwXRsW10KXzPMTZ+sOPAveyxindmjkW8lGy+QsRlG
PfZ+G6Z6h7mjem0Y+iWlkYcV4PIWL1iwBi8saCbGS5jN2p8M+X+Q7UNKEkROb3N6
KOqkqm57TH2H3eDJAkSnh6/DNFu0Qg==
-----END CERTIFICATE-----

```

Today The problem suddenly appeared.

---

<div class="post-metadata">

**Author:** ![Hgg](https://avatars.discourse-cdn.com/v4/letter/h/c89c15/32.png) [@Hgg](https://community.letsencrypt.org/u/Hgg)\
**Post date:** [March 11, 2018, 10:37am UTC](https://community.letsencrypt.org/t/net-err-cert-authority-invalid-error-on-my-website/55334/15 "2018-03-11T10:37:49Z")

</div>

This is the previous configuration  
 ![2018-03-11_183615](https://global.discourse-cdn.com/letsencrypt/original/3X/0/9/09b7b397a1cb9493a6734bf3784e546090e2b50b.png)

thanks

---

<div class="post-metadata">

**Author:** ![sahsanu](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/sahsanu/32/89984_2.png) [@sahsanu](https://community.letsencrypt.org/u/sahsanu)\
**Post date:** [March 11, 2018, 10:39am UTC](https://community.letsencrypt.org/t/net-err-cert-authority-invalid-error-on-my-website/55334/16 "2018-03-11T10:39:17Z")

</div>

@hgg, your fullchain.pem seems correct (it contains the certificate issued today and the right intermediate cert), also, your web server is also serving the certificate issued today but not the intermediate cert.

What is the entire Apache VirtualHost conf for your domain?. Do you see any error on your Apache logs?.

I see now your last post showing you were using cert.pem, could you please restart the Apache web server again?

---

<div class="post-metadata">

**Author:** ![Hgg](https://avatars.discourse-cdn.com/v4/letter/h/c89c15/32.png) [@Hgg](https://community.letsencrypt.org/u/Hgg)\
**Post date:** [March 11, 2018, 10:44am UTC](https://community.letsencrypt.org/t/net-err-cert-authority-invalid-error-on-my-website/55334/17 "2018-03-11T10:44:13Z")

</div>

I have restarted apache server,but this problem is still apear

---

<div class="post-metadata">

**Author:** ![sahsanu](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/sahsanu/32/89984_2.png) [@sahsanu](https://community.letsencrypt.org/u/sahsanu)\
**Post date:** [March 11, 2018, 10:48am UTC](https://community.letsencrypt.org/t/net-err-cert-authority-invalid-error-on-my-website/55334/18 "2018-03-11T10:48:58Z")

</div>

> [@Hgg](#):
>
> I have restarted apache server,but this problem is still apear

Then you need to figure out why Apache is not loading the `fullchain.pem`.

Also, show the output of these commands:

`ls -la /home/pc_apa01/instance/https/ca/`

`namei -l /home/pc_apa01/instance/https/ca/`

---

<div class="post-metadata">

**Author:** ![sahsanu](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/sahsanu/32/89984_2.png) [@sahsanu](https://community.letsencrypt.org/u/sahsanu)\
**Post date:** [March 11, 2018, 12:24pm UTC](https://community.letsencrypt.org/t/net-err-cert-authority-invalid-error-on-my-website/55334/19 "2018-03-11T12:24:46Z")

</div>

@Hgg, I see you are making progress but now you are serving the cert and fullchain (both of them).

```
$ echo | openssl s_client -connect www.wgats.cn:443 -servername www.wgats.cn 2>/dev/null | awk '/Certificate chain/,/---/'
Certificate chain
 0 s:/CN=www.wgats.cn
   i:/C=US/O=Let's Encrypt/CN=Let's Encrypt Authority X3
 1 s:/CN=www.wgats.cn
   i:/C=US/O=Let's Encrypt/CN=Let's Encrypt Authority X3
 2 s:/C=US/O=Let's Encrypt/CN=Let's Encrypt Authority X3
   i:/O=Digital Signature Trust Co./CN=DST Root CA X3
---

```

I don’t know what Apache version you are using, if it is 2.4.8 or above you should use this:

```
SSLCertificateFile /home/pc_apa01/instance/https/ca/fullchain.pem
SSLCertificateKeyFile /home/pc_apa01/instance/https/ca/privkey.pem

```

If you are using a version below 2.4.8 you should use this:

```
SSLCertificateFile /home/pc_apa01/instance/https/ca/cert.pem
SSLCertificateKeyFile /home/pc_apa01/instance/https/ca/privkey.pem
SSLCertificateChainFile /home/pc_apa01/instance/https/ca/chain.pem
```

---

<div class="post-metadata">

**Author:** ![Hgg](https://avatars.discourse-cdn.com/v4/letter/h/c89c15/32.png) [@Hgg](https://community.letsencrypt.org/u/Hgg)\
**Post date:** [March 11, 2018, 12:32pm UTC](https://community.letsencrypt.org/t/net-err-cert-authority-invalid-error-on-my-website/55334/20 "2018-03-11T12:32:14Z")

</div>

thanks a lot @sahsanu ,this problem is solved，we modified the web.conf

SSLEngine On  
SSLCertificateFile "/home/pc\_apa01/instance/https/ca/cert.pem"  
SSLCertificateKeyFile "/home/pc\_apa01/instance/https/ca/privkey.pem"  
add the _SSLCertificateChainFile “/home/pc\_apa01/instance/https/ca/fullchain.pem”_

and restart apache,that’s ok!  
thank you very much @sahsanu  
But we haven’t met this problem before，I don’t konw why this is the problem

[Next page](https://community.letsencrypt.org/t/net-err-cert-authority-invalid-error-on-my-website/55334.md?page=2)
