Home > database >  Getting error while creating wildcard ssl using certbot
Getting error while creating wildcard ssl using certbot

Time:06-17

I am using certbot to create wildcard ssl certificate. I am using the below command to create a wildcard ssl certificate.

sudo certbot certonly — manual — preferred-challenges=dns — email [email protected] — server https://acme-v02.api.letsencrypt.org/directory — agree-tos -d *.website.com

I am getting the below error,

certbot: error: unrecognized arguments: —manual —preferred-challenges=dns —email [email protected] —server https://acme-v02.api.letsencrypt.org/directory —agree-tos

Kindly help me fixing this issue.

CodePudding user response:

I myself fixed the issue, It was due to - in the place of --. The command should be like,

sudo certbot certonly --manual --preferred-challenges=dns --email [email protected] --server https://acme-v02.api.letsencrypt.org/directory --agree-tos -d *.website.com
  • Related