SSL is not working in wordpress multi site

Hi,

SSL is not working in WordPress multisite.
and I have already tried the below solution

You need to issue a wildcard certificate using the terminal.

This is how i issue and renew my wildcard certificate for a wordpress multisite.

/root/.acme.sh/acme.sh --issue -d mysite.com -d ‘*.mysite.com’ --dns --force \
–yes-I-know-dns-manual-mode-enough-go-ahead-please --cert-file /etc/letsencrypt/live/mysite.com/cert.pem --key-file /etc/letsencrypt/live/mysite.com/privkey.pem --fullchain-file /etc/letsencrypt/live/mysite.com/fullchain.pem

In this case you need to create a TXT record named “_acme-challenge.mysite.com” and add the code there to dns confirm the domain.
After you issue your wildcard you need to renew it using the --renew instead of the --issue command. Using this method you will need to manually renew this wildcard certificate.