# SSL non è valido per www.domain.com

**URL:** <https://meta.discourse.org/t/ssl-is-not-valid-for-www-domain-com/346525>\
**Category:** Self-hosting\
**Created:** [10 Gennaio 2025, 3:48pm UTC](https://meta.discourse.org/t/ssl-is-not-valid-for-www-domain-com/346525 "2025-01-10T15:48:17Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![good\_guy](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/good_guy/32/479589_2.png) [@good\_guy](https://meta.discourse.org/u/good_guy)\
**Post date:** [11 Gennaio 2025, 7:19pm UTC](https://meta.discourse.org/t/ssl-is-not-valid-for-www-domain-com/346525/13 "2025-01-11T19:19:56Z")

</div>

Ciao, sto aggiornando questo perché pensavo di averlo risolto ieri, ma ora accedendo a **[www.mysite.com](http://www.mysite.com)** ricevo ancora un reindirizzamento non SSL.

L’apice ha un SSL, solo non www.

Anche se ho applicato questo nel mio **app.yml** in **hooks** :

```plaintext
after_ssl:
   # dire a letsencrypt quali certificati aggiuntivi ottenere
    - replace:
        filename: "/etc/runit/1.d/letsencrypt"
        from: /--keylength/
        to: "-d mysite.com -d www.mysite.com --keylength"
    - replace:
        filename: "/etc/runit/1.d/letsencrypt"
        from: /--fullchainpath/
        to: "-d mysite.com -d www.mysite.com --fullchainpath"

```

---

_[View the full topic](https://meta.discourse.org/t/ssl-is-not-valid-for-www-domain-com/346525)._
