Lets encrypt ERR_CERTIFICATE_TRANSPARENCY_REQUIRED on chrome 68.0.3440.106

I have a VPS server under Ubuntu 17.10, and I have 2 domains, I have created a successful SSL certificate for the first domain 2 months ago, Today I tried to install lets encrypt domain for the 2nd one, with

certbot --authenticator standalone --installer apache -d domain.com -d www.domain.com --pre-hook "systemctl stop apache2" --post-hook "systemctl start apache2"

Now on chrome, I got the invalid certificate with

NET::ERR_CERTIFICATE_TRANSPARENCY_REQUIRED

How can I debug and fix this error? Thanks?


Solution 1:

Add this header to your webserver (you need get a custom report-uri!):

Expect-CT: enforce, max-age=300, report-uri="https://..."