# No way to install SSL certificate

**URL:** <https://community.letsencrypt.org/t/no-way-to-install-ssl-certificate/232423>\
**Category:** Help\
**Created:** [January 22, 2025, 6:19pm UTC](https://community.letsencrypt.org/t/no-way-to-install-ssl-certificate/232423 "2025-01-22T18:19:21Z")\
**Posts on this page:** 13\
**Page:** 2

<div class="post-metadata">

**Author:** ![MikeMcQ](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/mikemcq/32/52772_2.png) [@MikeMcQ](https://community.letsencrypt.org/u/MikeMcQ)\
**Post date:** [January 23, 2025, 5:47pm UTC](https://community.letsencrypt.org/t/no-way-to-install-ssl-certificate/232423/22 "2025-01-23T17:47:07Z")

</div>

> [@5t6u7v](#):
>
> just followed lets encrypt tutorials with command lines for apache/ubuntu

Let's Encrypt doesn't have a tutorial. What instructions did you follow?

> [@5t6u7v](#):
>
> I really don't know how to configure https VirtualHost

But you did configure one. A VirtualHost with ssl engine on and certificate files is that.

Please take this in the friendly suggestion it is meant as ... are you sure you want to be admin for your own server? There is a large learning curve to all the technical details. The certificates are only one thing. If you just want a website or a blog or something there are services you can buy to handle all the tech for you. You then just focus on the content.

---

<div class="post-metadata">

**Author:** ![5t6u7v](https://avatars.discourse-cdn.com/v4/letter/5/da6949/32.png) [@5t6u7v](https://community.letsencrypt.org/u/5t6u7v)\
**Post date:** [January 23, 2025, 5:56pm UTC](https://community.letsencrypt.org/t/no-way-to-install-ssl-certificate/232423/23 "2025-01-23T17:56:20Z")

</div>

> [@MikeMcQ](#):
>
> configured HTTPS VirtualHost

It's just a server for personal use, with CasaOS and some applications.  
I don't have habilities to admin anything, but it's still nice to learn.  
If SSL doesn't work, I'll do without SSL

I was wrong, I followed Certbot tutorials, from let's encrypt website.

---

<div class="post-metadata">

**Author:** ![Osiris](https://avatars.discourse-cdn.com/v4/letter/o/839c29/32.png) [@Osiris](https://community.letsencrypt.org/u/Osiris)\
**Post date:** [January 23, 2025, 6:07pm UTC](https://community.letsencrypt.org/t/no-way-to-install-ssl-certificate/232423/24 "2025-01-23T18:07:03Z")

</div>

> [@MikeMcQ](#):
>
> But you did configure one. A VirtualHost with ssl engine on and certificate files is that.

Certbot can install certs, but it doesn't have the feature to _un_install them unfortunately. So using an installer without any knowledge of any webserver configuration and then somehow messing up Certbot and/or the contents of `/etc/letsencrypt/` can leave people with a pickle.

---

<div class="post-metadata">

**Author:** ![MikeMcQ](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/mikemcq/32/52772_2.png) [@MikeMcQ](https://community.letsencrypt.org/u/MikeMcQ)\
**Post date:** [January 23, 2025, 6:09pm UTC](https://community.letsencrypt.org/t/no-way-to-install-ssl-certificate/232423/25 "2025-01-23T18:09:45Z")

</div>

> [@Osiris](#):
>
> can leave people with a pickle.

Sure, but, there is also no CT record for a cert for `tv-jv.fr`  
Not in crt.sh and not Censys anyway

---

<div class="post-metadata">

**Author:** ![5t6u7v](https://avatars.discourse-cdn.com/v4/letter/5/da6949/32.png) [@5t6u7v](https://community.letsencrypt.org/u/5t6u7v)\
**Post date:** [January 23, 2025, 6:10pm UTC](https://community.letsencrypt.org/t/no-way-to-install-ssl-certificate/232423/26 "2025-01-23T18:10:53Z")

</div>

> [@Osiris](#):
>
> leave people with a pickle

I didn't know the expression, as I'm french, but I can pretty much see the idea...

Well, if I'm not able to install a ssl certificate without know why, it will be a little bit compromised...  
It works without SSL but would probably be better with.

---

<div class="post-metadata">

**Author:** ![Osiris](https://avatars.discourse-cdn.com/v4/letter/o/839c29/32.png) [@Osiris](https://community.letsencrypt.org/u/Osiris)\
**Post date:** [January 23, 2025, 6:18pm UTC](https://community.letsencrypt.org/t/no-way-to-install-ssl-certificate/232423/27 "2025-01-23T18:18:27Z")

</div>

> [@MikeMcQ](#):
>
> Sure, but, there is also no CT record for a cert for `tv-jv.fr`  
> Not in crt.sh and not Censys anyway

Ah, I see, and Censys also shows staging certs, right? Maybe someone manually copy/pasted some stuff 🤷‍♂️

> [@5t6u7v](#):
>
> I didn't know the expression, as I'm french, but I can pretty much see the idea...

I'm not a native English speaker too, so I'm preeeetty sure I messed that expression up big time (I now think it's something with "_being in_ a pickle 🙄)

> [@5t6u7v](#):
>
> Well, if I'm not able to install a ssl certificate without know why, it will be a little bit compromised...

First step is to get your webserver back in working order.

Some_one_ or some_thing_ configured HTTPS virtualhosts in Apache, pointing to files that don't exist (any more). So you need to remove those virtualhosts and make sure you have a working webserver on HTTP.

---

<div class="post-metadata">

**Author:** ![5t6u7v](https://avatars.discourse-cdn.com/v4/letter/5/da6949/32.png) [@5t6u7v](https://community.letsencrypt.org/u/5t6u7v)\
**Post date:** [January 23, 2025, 6:21pm UTC](https://community.letsencrypt.org/t/no-way-to-install-ssl-certificate/232423/28 "2025-01-23T18:21:34Z")

</div>

All right, but like I said, I'm beginner, so except "google, please telle me how remove those virtualhosts and make sure you have a working webserver on HTTP", I don't know what else to do.

---

<div class="post-metadata">

**Author:** ![Osiris](https://avatars.discourse-cdn.com/v4/letter/o/839c29/32.png) [@Osiris](https://community.letsencrypt.org/u/Osiris)\
**Post date:** [January 23, 2025, 6:59pm UTC](https://community.letsencrypt.org/t/no-way-to-install-ssl-certificate/232423/29 "2025-01-23T18:59:19Z")

</div>

If you look at your `/etc/apache2/sites-enabled/default-ssl.conf`: the part above the

```
        # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,

```

line _should_ be, from the default Ubuntu 24.04 file:

```nohighlight
<VirtualHost *:443>
        ServerAdmin webmaster@localhost

        DocumentRoot /var/www/html

```

By the way, the file you uploaded here:

> [@5t6u7v](#):
>
> Here's the file in txt :  
> [default-ssl.txt](https://community.letsencrypt.org/uploads/short-url/n7vx3r7uP38pXp0ufwL7OZwF1uf.txt) (4.7 KB)

shows:

```nohighlight
    SSLCertificateFile /etc/letsencrypt/live/votre-domaine.com/fullchain.pem

```

But Apache is complaining about:

> [@5t6u7v](#):
>
> SSLCertificateFile: file '/etc/letsencrypt/live/tv-jv.fr/fullchain.pem' does not exist or is empty

Notice the difference between `votre-domaine.com` and `tv-jv.fr`?

Why did `votre-domaine.com` suddenly change in `tv-jv.fr` while I can't find `tv-jv.fr` in the file you've uploaded.

This all doesn't make any sense to me..

---

<div class="post-metadata">

**Author:** ![5t6u7v](https://avatars.discourse-cdn.com/v4/letter/5/da6949/32.png) [@5t6u7v](https://community.letsencrypt.org/u/5t6u7v)\
**Post date:** [January 23, 2025, 7:59pm UTC](https://community.letsencrypt.org/t/no-way-to-install-ssl-certificate/232423/30 "2025-01-23T19:59:53Z")

</div>

It couldn't work at startup because no webserver was installed on vps...

I first did that and could then have a ssl certificate.

Thanks for help (and patience...)

---

<div class="post-metadata">

**Author:** ![5t6u7v](https://avatars.discourse-cdn.com/v4/letter/5/da6949/32.png) [@5t6u7v](https://community.letsencrypt.org/u/5t6u7v)\
**Post date:** [January 23, 2025, 8:03pm UTC](https://community.letsencrypt.org/t/no-way-to-install-ssl-certificate/232423/31 "2025-01-23T20:03:14Z")

</div>

But now, I have another problem...

I installed casaOS on VPS and url [tv-jv.fr](http://tv-jv.fr) doesnt go to CasaOS but on Apache2 url "it works"...

---

<div class="post-metadata">

**Author:** ![Osiris](https://avatars.discourse-cdn.com/v4/letter/o/839c29/32.png) [@Osiris](https://community.letsencrypt.org/u/Osiris)\
**Post date:** [January 23, 2025, 8:04pm UTC](https://community.letsencrypt.org/t/no-way-to-install-ssl-certificate/232423/32 "2025-01-23T20:04:17Z")

</div>

This is not a generic support forum, but specifically for Let's Encrypt and only related to certificates/TLS more in general. Not all kinds of generic computer issues, sorry. Maybe you can find support somewhere on the "casaOS" support channels.

---

<div class="post-metadata">

**Author:** ![5t6u7v](https://avatars.discourse-cdn.com/v4/letter/5/da6949/32.png) [@5t6u7v](https://community.letsencrypt.org/u/5t6u7v)\
**Post date:** [January 23, 2025, 8:44pm UTC](https://community.letsencrypt.org/t/no-way-to-install-ssl-certificate/232423/33 "2025-01-23T20:44:04Z")

</div>

Yes, you're right.  
Thanks for help anyway

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/letsencrypt/original/3X/c/a/ca6c06ea1ea201324bba7048c6841ce60236468d.png) [@system](https://community.letsencrypt.org/u/system)\
**Post date:** [February 22, 2025, 8:44pm UTC](https://community.letsencrypt.org/t/no-way-to-install-ssl-certificate/232423/34 "2025-02-22T20:44:18Z")

</div>

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

[Previous page](https://community.letsencrypt.org/t/no-way-to-install-ssl-certificate/232423.md?page=1)
