Create SSL Certificate wildchard (not www protect)

I want create a wildcard certficate to protect my website on HTTPS.

My domain is (for example):
example.it

I use this command:

./certbot-auto --server https://acme-v02.api.letsencrypt.org/directory -d "example.it" -d "*.example.it" --preferred-challenges=dns --manual certonly

But the certificate generated with this command is valid in this mode:

  • example.it (valid)
  • www.example.t (not valid)

Why www.example.it is not valid?

I want to ask you to write me the true command for create a SSL certificate for my domain:

  • example.it
  • www.example.it

Thanka a lot!
Sav

It would be valid. That wildcard certificate would definitely cover www.example.it.

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