Help with Domain name does not end with a valid public suffix (TLD)

I recommend against the method to install Certbot from the tutorial you chose.

This should be your first choice snapd

And if you cannot use the first choice here is the second choice pip

2 Likes

Where are you running Certbot and Apache from?
vercel?

2 Likes

No ssh through my macbook to my raspberry pi, vercel has no relation in this

Then you do not want hosting with vercel, thus the IP Address associated with vercel should be removed.

2 Likes

I think you misunderstood, vercel is still needed to host my own website at vhaan.me, but I still want to setup an email server

You are correct.

From here:

“Does Let’s Encrypt issue certificates for anything other than SSL/TLS for websites?

Let’s Encrypt certificates are standard Domain Validation certificates, so you can use them for any server that uses a domain name, like web servers, mail servers, FTP servers, and many more.

Email encryption and code signing require a different type of certificate that Let’s Encrypt does not issue.”

So for your mail server if the domain name is the same as the website they can both use the exact same certificate and private key. Now if the mail server is something like mail.vhaan.me then a separate certificate is likely the way you’re trying to go.

mail.vhaan.me Then needs to answer the ACME challenge, and is the domain name that needs to be requested on the Certificate command line. You don’t need a certificate for vhaan.me

3 Likes

Thanks for that. This part worked. Although I scrapped this idea because it's proving to be way too hard to set this up.

2 Likes

Well @lemirq, you know where the LE Community Forum is for your future needs. :slight_smile:

3 Likes

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