Certifacate change

My server system is centos7, and I have applied for a certificate. Now I want to change the domain name and apply for another certificate. Can I directly apply for a certificate for another domain name? Do I need to do other configurations?

Assuming you are using certbot (you skipped all the questions) yes you can have as many different certificates as you like. It's also possible to extend existing certificate configurations to cover more domains.

4 Likes

Will my new domain certificate overwrite the old one?

That's up to you. I can't tell anything about your configuration (which webserver you are using, which certbot command if any you are using).

If you want to add a domain to an existing certificate use the 'extend' option, if you want a new certificate then add a new certificate.

How that certificate is then applied to your website depends on your configuration and the options you have chosen.

4 Likes

For reference, the normal set of questions the help template gets you to fill out are as below. When you skip these we have to guess everything else about your situation:

My domain is:

I ran this command:

It produced this output:

My web server is (include version):

The operating system my web server runs on is (include version):

My hosting provider, if applicable, is:

I can login to a root shell on my machine (yes or no, or I don't know):

I'm using a control panel to manage my site (no, or provide the name and version of the control panel):

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):

4 Likes

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