Skip to main content

How to add hostnames to AutoSSL certificate

Comments

12 comments

  • cPanelMichael
    Hello, The subdomain name must exist in order for the domain validation process to succeed. Thank you.
    0
  • leonep
    so ,how to add smtp hostname for all subdomain automatically during account creation?
    0
  • cPanelMichael
    so ,how to add smtp hostname for all subdomain automatically during account creation?

    You could use hooks to automatically run a custom script after account creation: When developing the custom script, you could make use of the following cPanel API 2 function: cPanel API 2 Functions - SubDomain::addsubdomain - Software Development Kit - cPanel Documentation Thank you.
    0
  • leonep
    sorry i write on old thread but i want to know if now there is a simpler way to have autossl for alternatives service hostname (es. pop3,smtp,etc) thanks
    0
  • cPRex Jurassic Moderator
    The process would still be the same, as the subdomain would have to exist in order for AutoSSL to add it.
    0
  • vpswing
    I have a similar issue - the root domain is "foobar.com" (fictitious), and the server name (hostname) is 'host' (host.foobar.com). AutoSSL has created cert for: - foobar.com - webmail.foobar.com - cpanel.foobar.com - etc (the standard cPanel subdomains). But NOT for 'host.foobar.com'. The subdomain 'host.foobar.com' has been created and is resolvable. How do I get AutoSSL to add the hostname 'host' ? (Using cPanel/Sectigo provider). Thanks!
    0
  • leonep
    you must create a virtual host named host.foobar.com and autossl generate it automatically. add a subdomain in cpanel the only way now
    0
  • quietFinn
    AutoSSL does not install hostname certificates, cPanel is doing it automatically, read here:
    0
  • vpswing
    AutoSSL does not install hostname certificates, cPanel is doing it automatically, read here:
    0
  • vpswing
    you must create a virtual host named host.foobar.com and autossl generate it automatically. add a subdomain in cpanel the only way now

    Thanks, that make sense, but I could not create a subdomain for the 'host.foobar.com' because cPanel said that is the hostname, and it won't create a subdomain for hostnames.
    0
  • leonep
    and what about purshase third party wildcard certificate ? may be you can install on hostname you want
    0
  • cPRex Jurassic Moderator
    @vpswing - what error do you get from AutoSSL about the hostname certificate?
    0

Please sign in to leave a comment.