Skip to main content

Stubborn ipv6 alias entry in AutoSSL cannot be removed

Comments

5 comments

  • cPanelLauren
    While this should have been removed when you removed the domain you might check in /var/cpanel/users/ and /var/cpanel/userdata for remnants. If you do find it present in the files you'll want to remove it then run /scripts/update/userdomains
    You mentioned you checked /var/named but did you check within the zone files as well?
    0
  • bloatedstoat
    Thanks @cPanelLauren Found an alias_domain.com.au file in /var/cpanel/userdata/primary_username and removed it. Ran: /usr/local/cpanel/scripts/updateuserdomains
    (on my system /scripts/update/userdomains does not exist) Regardless, the change made no difference so from the shell I ran: locate alias_domain
    /var/cpanel/ssl/domain_tls/ipv6.alias_domain.com.au /var/cpanel/ssl/domain_tls/mail.alias_domain.com.au /var/cpanel/ssl/domain_tls/ipv6.alias_domain.com.au/certificates /var/cpanel/ssl/domain_tls/ipv6.alias_domain.com.au/certificates.cache /var/cpanel/ssl/domain_tls/ipv6.alias_domain.com.au/combined /var/cpanel/ssl/domain_tls/ipv6.alias_domain.com.au/combined.cache /var/cpanel/ssl/domain_tls/mail.alias_domain.com.au/certificates /var/cpanel/ssl/domain_tls/mail.alias_domain.com.au/certificates.cache /var/cpanel/ssl/domain_tls/mail.alias_domain.com.au/combined /var/cpanel/ssl/domain_tls/mail.alias_domain.com.au/combined.cache /var/cpanel/userdata/primary_domain/alias_domain.com.au /var/cpanel/userdata/primary_domain/alias_domain.com.au.cache
    Can this lot be removed safely? Whilst on this journey I also found a few other things that look out of place. I opened the primary_username file /var/cpanel/users/primary_user and within that file are 16 XDNS[NN] entries, these entries list expired domains or domains that are no longer registered with us - one of the entries is alias_domain.com.au Can all of these legacy entries be removed for clarity's sake? Which script needs to be run afterwards if I do? Within /var/cpanel/users there are 2 files that were modified recently, those files are owned by root:username, the remainder of the files are owned by cpanel:username so lack consistency. Thanks.
    0
  • cPanelLauren
    If you're not using them they can be removed - just the entries that are invalid though. I'd also like to see if the following helps once they're removed: /scripts/update/userdomains /scripts/updateuserdatacache mv /etc/apache2/conf/httpd.conf{,.bk} /scripts/rebuildhttpdconf /scripts/restartsrv_httpd /scripts/rebuilddnsconfig
    0
  • bloatedstoat
    I manually removed the entries highlighted in my earlier post and ran the relevant scripts as advised. The process made no difference to the ipv6.alias_domain.com.au entry. I then added the domain back in as an alias and ran the AutoSSL feature from within cPanel (not WHM) excluding the troublesome alias from the certificate request. The certificate for the main domain and another alias successfully completed and the certificate was installed with a warning that alias_domain.com.au and its subdomains are not secured. Thereafter I removed the alias from within cpanel thinking this might clean everything up. The following:
    • mail.alias_domain.com.au
    • www_alias_domain.com.au
    • alias_domain.com.au
    were removed successfully - but not ipv6.alias_domain.com.au. It refuses to be deleted! Are you able to reproduce this behaviour? Thanks. CLOUDLINUX 6.10 v80.0.20
    0
  • cPanelLauren
    I'd go ahead and open a ticket at this point @bloatedstoat. Once open please reply with the Ticket ID here so that we can update this thread with the resolution once the ticket is resolved. Thanks!
    0

Please sign in to leave a comment.