简体   繁体   中英

generate Certificate for Sub domain using certbot

I want generate a certificate for my sub-domain I already have certificate for www.xyz.com I want to generate certificate for a.xyz.com How do I generate using cert bot

You can generate all at once and update it.

certbot certonly --manual -m youremail@mail.com --server https://acme-v02.api.letsencrypt.org/directory --agree-tos -d domain.com,*.domain.com, *.sub.domain.com

May it helps someone

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM