• Support
  • Adding more domains to existing Let's Encrypt SSL certificate

Hello all,

I currently hosted 2 websites on aaPanel. One of them is hosted under 2 domains

For example:
domain.co.nz
domain.com

When I created this website 1 month ago, I requested Let's Encrypt SSL for these two domains and turned on 'Force HTTPS'. Later on, www.domain.com and www.domain.co.nz were added to the domain list of the website in aaPanel.
However, when users access www.domain.com from Firefox (it's fine on Google Chrome), the browser will say it's not secure connection as the SSL certificate is for domain.com and domain.co.nz only.

Therefore I need to add www.domain.com and www.domain.co.nz to my SSL certicate. I tried to 'Disable SSL' and then re-apply via File verification mode but not successful.

Error code as below.
ACME_QUERY_V_RESULT
|-verification failed!
|-Verification failed, domain name resolution error or verification URL cannot be accessed!

Could anyone share some tips with me?

Kind regards,
Scott

    Try DNS verification maybe it works

    littleaotearoa
    Two certificates of different domain names cannot be deployed in one site,
    for example:
    cannot be deployed in one site

    aaa.com
    aaa.net

    can be deployed in one site

    aaa.com
    www.aaa.com
    bbb.aaa.com

    you need to divide them into two sites to deploy

      aaPanel_Jose
      Hi Jose,

      Thanks for your reply.
      As I mentioned earlier, I assigned two domain to one website on aaPanel back in July. After that I applied Let's Encrypt SSL certificate successfully which contains both domain. Screenshot below.

      The problem happens when I disable current SSL and try to apply Let's Encrypt with www.domain.com & www.domain.co.nz.

      Error code as below,

      ACME_QUERY_V_RESULT
      |-verification failed!
      |-Verification failed, domain name resolution error or verification URL cannot be accessed!

      I'm wondering if I did it incorrectly. Do I need to remove the SSL manually in root folder before applying for a new one?

      Kind regards,
      Scott

        littleaotearoa

        Which authentication method do you use?

        if use [File verification]

        Do files exist in this directory?

        /www/wwwroot/website_name/.well-known/acme-challenge

          aaPanel_Jose
          Hi Jose,

          Yes, I used file verification method.
          Should I remove the files in this folder after I disabled SSL? What is the correct procedure to completely remove an existing SSL certificate from aaPanel?

          Kind regards,
          Scott

            littleaotearoa

            According to the file path it prompts, can you manually access it to display the content?

            This is an error caused by Let's Encrypt authentication excuse not being able to access your website’s authentication file

              aaPanel_Jose
              Hi Jose,
              Thanks for your reply.
              I tried it again but now the panel just stopped at 'Creating order...' status for more than 20 minutes.
              I will try restart VPS + panel and see if it works.

              10 months later

              Disable the SSL in website setting and renew it again all the domain will show and then you can apply lets encrypt or any other SSL Certificate

              a year later

              i have same problem. use below command in ".htaccess" project file :

              <IfModule mod_rewrite.c>
              RewriteEngine on
              RewriteCond %{REQUEST_URI} !^/.well-known
              </IfModule>

              it's work for me.

              In some projects you have to refer the requests to the public folder. Because of this, this makes the folder inaccessible

              8 months later

              Is it possible to add domains and activate SSL without affecting the already issued SSL? On cPanel, this process can be completed seamlessly. However, I am concerned that every time I add a domain, Let's Encrypt might block the certificate re-issuance due to multiple attempts.

              Any insights?

                aaPanel_Kern Thank you. The initial requirement for adding a new domain and applying SSL to it is disabling SSL on existing domains. Is there an alternative method to avoid disabling SSL for existing domains while adding new ones? So, may be is there any SSH code available that can be executed or any other way?

                  Hello, the ssl of the existing domain name will not be disabled

                  webz

                  • webz replied to this.

                    aaPanel_Kern Although I am aware that it is not disabled, disabling the SSL is necessary in order to install SLL on a newly added domain. Without doing so, there is no option to install SSL on the pop window SSL install section.

                    Do you understand where am I coming from?

                      It is recommended that you intercept more information, but it is impossible to determine what the problem is

                      webz

                      • webz replied to this.

                        aaPanel_Kern
                        Please see the screenshot. I hope this clarifies the problem I ma having. As on cPanel SSL installed independent.
                        aaPanel I need to do following in order to install SSL on addon domain.

                        Not supported, it is recommended that you try to create a new site with a different domain name

                        What do you mean by not supported? I have a SaaS application installed and I need to add domains as registered customers. Everything is fine except for the trouble of adding new domains. Additionally, in order to support wildcard, I have to use DNS verification, which is another inconvenience.

                        I am a loyal user of aaPanel without any doubt. In fact, even though I don't actually need it, I will still purchase the pack just to show my support. However, if you want to be a serious competitor to cPanel, the details really do matter. It may seem like a small issue to you, but because of this problem alone, I am still unable to cancel my expensive cPanel license!

                        aaPanel is superior to cPanel in terms of being cleaner and providing faster response times. So please continue your good work but keep in mind that your competitor currently holds the largest market share and you are lacking in certain features!

                          If your added domain name is in the same domain as the wildcard domain name, then there is no need to re-apply for SSL
                          SSL must be reapplied if the domain name does not match
                          It is recommended to create a new site in different domains

                          webz

                          • webz replied to this.