How do I change my localhost cert to a domain cert?

for solving error NET::ERR_CERT_AUTHORITY_INVALID
My domain is: igoded.es, igoded.com, rapsodiando.es, rapsodiando.com

I ran this command: all commands in https://help.directadmin.com/item.php?id=648 and in the UI of directadmin i generated the certs and with certbot in bash and https://www.thesslstore.com/knowledgebase/ssl-install/litespeed-ssl-installation/

The operating system my web server runs on is (include version): debian 9.9

My hosting provider, if applicable, is: hosteons

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): directadmin

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

Hi @igoded

you have created some certificates ( https://check-your-website.server-daten.de/?q=igoded.es ):

CertSpotter-Id Issuer not before not after Domain names LE-Duplicate next LE
971385872 CN=Let's Encrypt Authority X3, O=Let's Encrypt, C=US 2019-06-17 08:07:06 2019-09-15 08:07:06 www.igoded.com, www.igoded.es, www.rapsodiando.com, www.rapsodiando.es - 4 entries duplicate nr. 1
971346074 CN=Let's Encrypt Authority X3, O=Let's Encrypt, C=US 2019-06-17 07:34:25 2019-09-15 07:34:25 igoded.com, igoded.es, rapsodiando.com, rapsodiando.es - 4 entries duplicate nr. 1
966633388 CN=Let's Encrypt Authority X3, O=Let's Encrypt, C=US 2019-06-14 08:25:08 2019-09-12 08:25:08 igoded.com, igoded.es, rapsodiando.com, rapsodiando.es, www.igoded.com, www.igoded.es, www.rapsodiando.com, www.rapsodiando.es - 8 entries duplicate nr. 3
966627187 CN=Let's Encrypt Authority X3, O=Let's Encrypt, C=US 2019-06-14 08:20:06 2019-09-12 08:20:06 igoded.com, igoded.es, rapsodiando.com, rapsodiando.es, www.igoded.com, www.igoded.es, www.rapsodiando.com, www.rapsodiando.es - 8 entries duplicate nr. 2
966624867 CN=Let's Encrypt Authority X3, O=Let's Encrypt, C=US 2019-06-14 08:17:38 2019-09-12 08:17:38 igoded.com, igoded.es, rapsodiando.com, rapsodiando.es, www.igoded.com, www.igoded.es, www.rapsodiando.com, www.rapsodiando.es - 8 entries duplicate nr. 1

So don't create new certificates, that may hit the limit.

If you use Directadmin, you shouldn't use other clients like Certbot. That can't work.

Check your Directadmin menu. There should be an option to install the certificate.

User Level -> SSL Certificates

1 Like

but how do i can solve NET::ERR_CERT_AUTHORITY_INVALID ?

You have to install one of these certificates.

But I don't use Directadmin, so I don't know how to install there a certificate. But it should be possible.

1 Like

and how do i delete unwanted certs?
i would want delete all cert except 966624867

CT-logs are append-only logs.

So you can't delete certificates there.

I mean, /etc/letsencrypt/keys/0001_key-certbot.pem deleting on this path?

First install a working certificate.

And as written: Don’t mix Certbot and Directadmin.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.