Skip to main content

Configure AutoSSL to exclude mail. and www. certificates?

Comments

4 comments

  • CreateChange
    Hi Nash, Just a thought - in /var/cpanel/ssl/autossl/excludes
    are excludes files in json format. See: root@cpanel-7 [/var/cpanel/ssl/autossl/excludes]# cat account_name.json {"excluded_domains":["domain.com","www.domain.com">}
    Note that the file is the account name, while directives in the file are domains. I would suspect that you could include parked domains to the respective excludes file to disable AutoSSL from running on those parked domains. Don't know if this is the best option (or even an option!) but thought it might give you some food for thought. Have a good day!
    0
  • Infopro
    This thread may be of some use:
    0
  • Nash1
    Hello Infopro, Thank you for the thread link. However, there no longer are any "proxy subdomain" settings under Tweak settings. I have "service subdomains" disabled. Running as root, the script /scripts/proxydomains remove made no changes according to the scripts' output. Hello CreateChange, I'll experiment with /var/cpanel/ssl/autossl/excludes, and comment back on how that works. Thank you for the suggestion. I was hoping to have something that didn't require manual edits with each new parked domain.
    0
  • Nash1
    Hello CreateChange, That works, updating the domain's json file in /scripts2/listparked does exclude the listed domains from AutoSSL. Can the json file take wildcards? If so, how do I tell it to exclude mail.*.sdsu.edu and www.*.sdsu.edu in the json file? Is there a command line script to list the domains parked? I'd like to automate updates to our WordPress domain's json file. I noticed if any typo is made, AutoSSL fails for the domain.
    0

Please sign in to leave a comment.