Is there a way to create a free 90days wildcard Ca certificate on ubuntu 18.04 ?

Posted November 13, 2019 415 views

I find my CA certificate is single domain certificate and it doesn’t support mail server.
It looks like I need a wildcard Ca certificate.
I searched on the google and find “”.
Can you tell me how create a 90days wildcard CA certificate using certbot on the ubunutu18.04 ?
Thanks a lot.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hi @zhiweny1122,

I’ll assume you’ve actually installed certbot already so we can just continue with the actual configuration for installing a wildcard certificate.

Let’s say we have a test domain To actually install a wildcard for it, we’ll need to run the following command from the droplet

sudo certbot certonly --manual -d * -d --agree-tos --no-bootstrap --manual-public-ip-logging-ok --preferred-challenges dns-01 --server

This should be enough for the wildcard to be installed.