UntrustedRoot: A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is:rav75.icu

I ran this command:certbot --apache --noninteractive --agree-tos --register-unsafely-without-email --expand -d rav75.icu

It produced this output:
Account registered.
Requesting a certificate for rav75.icu


Congratulations! You have successfully enabled https://rav75.icu


IMPORTANT NOTES:

  • Congratulations! Your certificate and chain have been saved at:
    /etc/letsencrypt/live/rav75.icu/fullchain.pem
    Your key file has been saved at:
    /etc/letsencrypt/live/rav75.icu/privkey.pem
    Your cert will expire on 2021-04-10. To obtain a new or tweaked
    version of this certificate in the future, simply run certbot again
    with the "certonly" option. To non-interactively renew all of
    your certificates, run "certbot renew"

  • If you like Certbot, please consider supporting our work by:

    Donating to ISRG / Let's Encrypt: https://letsencrypt.org/donate
    Donating to EFF: https://eff.org/donate-le

$Error:Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator apache, Installer apache
Starting new HTTPS connection (1): acme-v02.api.letsencrypt.org
Performing the following challenges:
http-01 challenge for rav75.icu
Waiting for verification...
Cleaning up challenges
Created an SSL vhost at /etc/httpd/sites-available/rav75.icu-le-ssl.conf
Deploying Certificate to VirtualHost /etc/httpd/sites-available/rav75.icu-le-ssl.conf
Enabling site /etc/httpd/sites-available/rav75.icu-le-ssl.conf by adding Include to root configuration
Redirecting vhost in /etc/httpd/sites-enabled/rav75.icu.conf to ssl vhost in /etc/httpd/sites-available/rav75.icu-le-ssl.conf

My web server is (include version):Server version: Apache/2.4.6 (CentOS)

The operating system my web server runs on is (include version):CentOS Linux release 7.9.2009 (Core)

My hosting provider, if applicable, is:hostinger

I can login to a root shell on my machine (yes or no, or I don't know):yes

I'm using a control panel to manage my site (no, or provide the name and version of the control panel):
no

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):certbot 1.10.1

Did you restart apache after issueing?

Thanks for the swift reply... i did : systemctl restart httpd

Hi @olek

looks like Certbot doesn't understand your system, so the certificate installation didn't work.

What says

apachectl -S
httpd -S
1 Like

This could use an update:

1 Like

I thought it was
sudo systemctl restart apache2
also, the lack of sudo in the command makes me think you are running this as root, which is not a good idea.

Running as root is pretty common when trying to acquire a certificate. Saves a lot of sudo'ing and permissional headaches.

1 Like