Automatically adding SSL to addon domains

G-e-o-r-g-e

Member
Feb 21, 2018
23
4
53
Greece
cPanel Access Level
Root Administrator
Hello, hope you're well.

I searched for this but couldn't find an answer.

I'm creating a site-building app. Users are able to add their own domain to the site they build.

The domains get added fine in cPanel. However, they don't have SSL. Is there a way to have all new domains that get added load with httpS:?

This should happen completely automatically, without anyone logging into cPanel.

Thank you.
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
16,643
2,630
363
cPanel Access Level
Root Administrator
Hey there! All domains that get added to a cPanel server will have AutoSSL by default, unless they are manually excluded. Are you not seeing AutoSSL running for that domain?

It's also not an instant process - after the domain gets created, it can be a bit before AutoSSL is able to issue a certificate as that tool doesn't always run instantly.
 

G-e-o-r-g-e

Member
Feb 21, 2018
23
4
53
Greece
cPanel Access Level
Root Administrator
Hi...

It appears that AutoSSL worked. However, there were several other parameters that were affecting the set up (Cloudflare SSL on the app domain, WordPress, etc).

For now, I have figured out another way, and I'll ask users to use Cloudflare nameservers for their domain mapping. I have verified this works.

Thank you.
 
  • Like
Reactions: cPRex