Ssl for subdomain

Hi everyone, I already installed certbot for my domain ieltsessaybank.com. My hosting is Digital Ocean. Their support says that to add ssl to the subdomain membership.ieltsessaybank.com, all I need to do is run the command certbot. Is this true? Is there anything else I need to do to install ssl for the subdomain. Many thanks!

We can't confirm what they say is true or not.

We can confirm that if you have certbot and you can run it and you are in control of the IP resolved by that name you will get a cert for that name.

Have you tried running certbot?

5 Likes

Your domain names are proxied at Cloudflare. So, any cert you get on your Origin Server only encrypts traffic between the Cloudflare CDN Edge and your Origin.

Cloudflare obtains a cert on your behalf for HTTPS between a client (a browser) and itself.

You could consider using a Cloudflare Origin CA cert instead of needing to use Certbot.

4 Likes

Thanks for the responses. After running the command certbot, I got this message:

Certbot doesn't know how to automatically configure the web server on this system. However, it can still get a certificate for you. Please run "certbot certonly" to do so. You'll need to manually configure your web server to use the resulting certificate.

Is it hard to manually configure my web server to use the resulting certificate? If it's very difficult, I may consider hiring a freelancer to do it. If it is simple, please tell me the exact step. Many thanks!

2 Likes

It is likely quite simple.
[like all magic tricks - once you know the "secret"]

Which web server are you using?
apache, IIS, nginx, litespeed, ...

3 Likes

Thanks for the response. I use One-Click OpenLiteSpeed WordPress Server.

1 Like

OK.
I believe that it is based on Apache.
Try shows:
sudo apachectl -t -D DUMP_VHOSTS

2 Likes

command not found

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