SSL non è valido per www.domain.com

Stai seguendo le istruzioni su Set up Let’s Encrypt with multiple domains / redirects?

Se inserisci www.mysite.com nel modello nell’OP, genera questo:

after_ssl:
   # tell letsencrypt what additional certs to get
    - replace:
        filename: "/etc/runit/1.d/letsencrypt"
        from: /--keylength/
        to: "-d www.mysite.com --keylength"
    - replace:
        filename: "/etc/runit/1.d/letsencrypt"
        from: /--fullchainpath/
        to: "-d www.mysite.com  --fullchainpath"
        global: true

Quindi lo stai facendo nel modo sbagliato.