I found that a pending entry was no longer an active site and deleted it, I will try if it works now

6 months later

I seem to be getting the same issue. I have tried manually several times but it just wont renew.
https://crazychickentech.com/wp-content/uploads/2020/11/SSL-Issue.png

My next option is to just delete it and start over.

Any other suggestions before I do that?

Also, where are the logs stored for that action. It would be good to review them but they disapear.

So I went ahead and deleted the SSL cert and everything is working now. I still have the issue on several websites but I would love to understand the problem.

The other question I have is whenever I do a DNS verification the verification TXT record will change when I move away from the screen. This is kind of a pain because if my TTL is long I have to wait a very long period of time and have to stay on that screen. Would it make more sense to set that TXT record once so I could come back to it. And then give me the option to recycle that DNS verification if I wanted to?

Thanks!

Ok, took a little digging but I think I figured it out...

First, I noticed the DNS records didn't appear to match. Took a couple print screens so it would be nice to know where the logs are...

Problem

What I am realizing is that I moved this website from one server to another and all I did was copy and paste the SSL cert info so it worked the first time. But in the key the DNS validation is obviously stored.

My solution was to just delete the cert and reissue.

Hope this may help someone else.

Hello!

On my cloudflare account there are 32 domains. When I try renew then certificate (manually or cron job) an error happens becouse the API request return only 20 domains per pagination.

{
    "status": false,
    "msg": "Error unable to get DNS zone for domain_name=example.com: status_code=200 response=CLOUDFLARE_API_RESPONSE"
} 

Following there is the CLOUDFLARE_API_RESPONSE

{
    "result": [
		{
			"id": "7fh7s6h7s6s76j6s7j",
			"name": "example.net",
			"status": "active",
			"paused": false,
			"type": "full",
			"development_mode": 0,
			"name_servers": ["jhon.ns.cloudflare.com", "mary.ns.cloudflare.com"],
			"original_name_servers": ["a.auto.dns.br", "b.auto.dns.br"],
			"original_registrar": null,
			"original_dnshost": null,
			"modified_on": "2020-06-16T16:36:07.497069Z",
			"created_on": "2020-06-16T14:31:34.296159Z",
			"activated_on": "2020-06-16T16:36:07.497069Z",
			"meta": {
				"step": 2,
				"wildcard_proxiable": false,
				"custom_certificate_quota": 0,
				"page_rule_quota": 3,
				"phishing_detected": false,
				"multiple_railguns_allowed": false
			},
			"owner": {
				"id": "67d6h7adh7adhd5h6sd5h5e4dea46c0",
				"type": "user",
				"email": "my.account@gmail.com"
			},
			"account": {
				"id": "67d6h7adh7adhd5h6sd5h5e4dea46c0",
				"name": "Company Account"
			},
			"permissions": [...],
			"plan": {
				"id": "0feeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
				"name": "Free Website",
				"price": 0,
				"currency": "USD",
				"frequency": "",
				"is_subscribed": false,
				"can_subscribe": false,
				"legacy_id": "free",
				"legacy_discount": false,
				"externally_managed": false
			}
		},
		...
	],
    "result_info": {
        "page": 1,
        "per_page": 20,
        "total_pages": 2,
        "count": 20,
        "total_count": 32
    },
    "success": true,
    "errors": [],
    "messages": []
}

the cloudflare's tokens option instead email and global api key will be a great feature 😁

On file /www/server/panel/class/panelDnsapi.py at line 204 I replaced

from

url = urljoin(self.CLOUDFLARE_API_BASE_URL, "zones?status=active")

to

url = urljoin(self.CLOUDFLARE_API_BASE_URL, "zones?status=active&name={0}".format(domain_name))

and works perfectly

2 months later

Hello!

I found a new issue. Let's Encrypt isn't renewing through file verification when "Force HTTPS" option is enabled.

I'm using aaPanel LinuxStable 6.8.6 and Nginx 1.18.0

    aaPanel_Jose the certificates have not been renewed automatically. when I'm going to renew automatically, I need to disable the option "force HTTPS" to renew manually.

    I don't know what is causing the bug, but I suspect that the automatic renewal (which is configured in cron) is not working because HTTPS is forced.

    Keep the "force HTTPS" option disabled should not be an alternative. When forcing HTTPS, this should make an exception for /.well-known/acme-challenge, so Let's Encrypt validate de certificate in HTTP protocol at port 80

      a month later

      Same here. Can't renew even manually if the website has force https activted.

      3 years later

      Please review the SSL Renewal module because It was working fine in old AA panel after update it was not working and it is serious issue as many of my websites stop working due to this and I was not aware of it. Please fix this issue ASAP.

        Hi, can you give us your aapanel information? The server makes a snapshot backup first, if possible, please send it to kern@aapanel.com.
        It is recommended to fill in the following
        Post link:
        SSH IP address, account password and port:
        aapanel login link address and account password:
        Detailed problem description:

        No post link will not be able to know which user's information is, and the problem will not be processed

        manthanesc

        2 months later

        Same problem
        |-No SSL certificate found within 30 days!
        With different sites on different servers and aapanels.

          puzzleguru
          Hello, are you verifying using file verification?
          If you use DNS, do you add the txt record manually?

          8 days later

          Hi. I have the same problem.
          System: Debian GNU/Linux 11 x86_64(Py3.12.3)
          aapanel 7.0.8
          verification TXT record

          If I update SSL manually, everything works.



            Hello, thank you for your feedback. We will optimize this issue in the future.
            Use DNS verification, use API or manually add txt records?
            Do all websites use TXT records?

            aaP_mihonukr

              Hi, can you give us your aapanel information? The server makes a snapshot backup first, if possible, please send it to kern@aapanel.com.
              It is recommended to fill in the following
              Post link:
              SSH IP address, account password and port:
              aapanel login link address and account password:
              Detailed problem description:

              No post link will not be able to know which user's information is, and the problem will not be processed

              aaP_mihonukr

                aaPanel_Kern
                I dont use DNS/API verification.
                I user only verification TXT record.
                I dont create any manuall txt records.
                All websites use TXT records.