# Help SSL handshake failed

**URL:** <https://forum.virtualmin.com/t/help-ssl-handshake-failed/134488>\
**Category:** Webmin\
**Created:** [August 4, 2025, 6:49pm UTC](https://forum.virtualmin.com/t/help-ssl-handshake-failed/134488 "2025-08-04T18:49:11Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![sombras](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/sombras/32/20930_2.png) [@sombras](https://forum.virtualmin.com/u/sombras)\
**Post date:** [August 4, 2025, 6:49pm UTC](https://forum.virtualmin.com/t/help-ssl-handshake-failed/134488/1 "2025-08-04T18:49:11Z")

</div>

Hi, I accidentally disabled SSL and re-enabled it, but my site no longer works. How do I fix this?

![](https://i.imgur.com/RGxZaBg.jpeg)

```auto

```

---

<div class="post-metadata">

**Author:** ![Joe](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/joe/32/9_2.png) [@Joe](https://forum.virtualmin.com/u/Joe)\
**Post date:** [August 4, 2025, 7:15pm UTC](https://forum.virtualmin.com/t/help-ssl-handshake-failed/134488/2 "2025-08-04T19:15:57Z")

</div>

Seems likely you don’t have a valid TLS certificate on the Virtualmin server for this domain. If you had a Let’s Encrypt cert from before you enabled Cloudflare, it wouldn’t be able to renew.

Since you’re going through Cloudflare, you can’t get a Let’s Encrypt certificate for the domain (Cloudflare terminates the TLS connection with their own certificate).

I don’t know how Cloudflare recommends you solve that problem, but it is a problem caused by Cloudflare, so Cloudflare is probably where you should go for answers about the problem.

This is all a guess, of course, as we don’t have enough information to actually say. At the very least, we’d need to know _why_ the handshake failed (expired cert? cert for the wrong domain? something else?).

---

<div class="post-metadata">

**Author:** ![jimr1](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/jimr1/32/14173_2.png) [@jimr1](https://forum.virtualmin.com/u/jimr1)\
**Post date:** [August 4, 2025, 8:04pm UTC](https://forum.virtualmin.com/t/help-ssl-handshake-failed/134488/3 "2025-08-04T20:04:32Z")

</div>

> [@Joe](#):
>
> Since you’re going through Cloudflare, you can’t get a Let’s Encrypt certificate

Where did the op say that ? I can’t see it. As this thread was posted in the webmin section maybe virtualmin is not installed, but your right there is not information to make a good answer

---

<div class="post-metadata">

**Author:** ![Joe](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/joe/32/9_2.png) [@Joe](https://forum.virtualmin.com/u/Joe)\
**Post date:** [August 4, 2025, 8:08pm UTC](https://forum.virtualmin.com/t/help-ssl-handshake-failed/134488/4 "2025-08-04T20:08:45Z")

</div>

Look at the screenshot of the error they posted. (I wish folks would include text of errors, instead of or in addition to screenshots, of course.)

---

<div class="post-metadata">

**Author:** ![sombras](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/sombras/32/20930_2.png) [@sombras](https://forum.virtualmin.com/u/sombras)\
**Post date:** [August 4, 2025, 9:00pm UTC](https://forum.virtualmin.com/t/help-ssl-handshake-failed/134488/5 "2025-08-04T21:00:53Z")

</div>

I just solved it in Cloudflare by changing the SSL to flexible mode, before it was in full mode (before it worked in full mode but oh well) thanks for commenting.

---

<div class="post-metadata">

**Author:** ![ID10T](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/id10t/32/7895_2.png) [@ID10T](https://forum.virtualmin.com/u/ID10T)\
**Post date:** [August 4, 2025, 11:26pm UTC](https://forum.virtualmin.com/t/help-ssl-handshake-failed/134488/6 "2025-08-04T23:26:44Z")

</div>

> [@Joe](#):
>
> (I wish folks would include text of errors, instead of or in addition to screenshots, of course.)

I sometimes go with the screenshots to try and keep things in the realm of WM/VM even when I would personally do it via command line. 😕

---

<div class="post-metadata">

**Author:** ![jimdunn](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/jimdunn/32/3487_2.png) [@jimdunn](https://forum.virtualmin.com/u/jimdunn)\
**Post date:** [August 5, 2025, 11:35pm UTC](https://forum.virtualmin.com/t/help-ssl-handshake-failed/134488/7 "2025-08-05T23:35:44Z")

</div>

Now the screenshot ([https://i.imgur.com/RGxZaBg.jpeg](https://i.imgur.com/RGxZaBg.jpeg)) is gone.

---

<div class="post-metadata">

**Author:** ![Joe](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/joe/32/9_2.png) [@Joe](https://forum.virtualmin.com/u/Joe)\
**Post date:** [August 6, 2025, 12:34am UTC](https://forum.virtualmin.com/t/help-ssl-handshake-failed/134488/8 "2025-08-06T00:34:35Z")

</div>

Still shows up for me. But, the only interesting thing it shows is that Cloudflare is involved.

---

<div class="post-metadata">

**Author:** ![system](https://cdn.forum.virtualmin.com/uploads/default/original/2X/c/cd96d761e326db4b2bef94886a639109bd7a8e76.svg) [@system](https://forum.virtualmin.com/u/system)\
**Post date:** [October 5, 2025, 12:35am UTC](https://forum.virtualmin.com/t/help-ssl-handshake-failed/134488/9 "2025-10-05T00:35:17Z")

</div>

Closed on October 5, 2025, 12:35am UTC

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