aaPanel_Kern Here's what I've researched:
Part 1.
https://aapanel3.mydomain.com:28635/acme?action=renew_cert
Request headers are::
{
"Request Headers (1.784 kB)": {
"headers": [
{
"name": "Accept",
"value": "/"
},
{
"name": "Accept-Encoding",
"value": "gzip, deflate, br, zstd"
},
{
"name": "Accept-Language",
"value": "en-US,en;q=0.8,ru-RU;q=0.5,ru;q=0.3"
},
{
"name": "Connection",
"value": "keep-alive"
},
{
"name": "Content-Length",
"value": "38"
},
{
"name": "Content-Type",
"value": "application/x-www-form-urlencoded; charset=UTF-8"
},
{
"name": "Cookie",
"value": "_ga_58SGF8SP12=GS1.1.1734333058.165.1.1734333060.0.0.0; _ga=GA1.1.1156063346.1724936581; __stripe_mid=ff257663-75d2-4b47-bf82-750a12f066974c6f01; 9f0c075eabd9bf2b499bfbe0c81227c8=fbc34276-d43c-4e06-a0b3-439a495fd6b2.kl5VPQp3vkXtDkjXq8WCZfyjN8Q; b372100ef0896042414a82ae4e327186=361f1e61-ead8-47d2-a1eb-80e7997cef5c.kGhk1IiPNzNB8fdnZEI8l7Tx2SA; 902bcef9996aae9333a0739619d17d57=8a6a2088-f04d-44cc-8408-877a14120553.M3o-3W2KSpC1ppataChWI9QLdKk; a7090fa3336110673036f99c1212077a=7821d158-4bef-489b-bb36-e9b279632cad.TCp_r3g3ZjkPW9MQxd2QerySJ0M; a589eff78a05cd737d78ecceaa100cb8=cadebc16-318d-4c74-9240-a445ddea33dd.W-MjXXXDcYUOuiY_ivWZGW9hjo4; 8638079df0a7f4f8df371ad872fe35d2=68fdbd15-75bb-4620-941f-9ac626564c31.KIovENQzZL0AJPYhlMH7Iiex1A8; c56be6bdb8a8c858d86bfd47f3845461=3d0498cb-6c11-4ea0-a6ae-0e5a8716ddd5.RI5ONtasjq14vQxRupOupXkdPfM; ab79740d0f61d049bcf93900ab3f89d2=8a941632-c3de-4ee1-8e2b-3166b43db16b.sg5Y_4i1d1-eYbv_0xdG0VMogYE; commandInputViewUUID=eX52rZ5CAb7G7j8; config-tab=allConfig; serial_no=; 058ac08e509a5aff11435181bbea54b0=ebd0a4bd-777e-40b3-806a-839115cc0b0b.H9tKggZYB7xLho1D3WlgM5QsntM"
},
{
"name": "Host",
"value": "aapanel3.mydomain.com:28635"
},
{
"name": "Origin",
"value": "https://aapanel3.mydomain.com:28635"
},
{
"name": "Priority",
"value": "u=0"
},
{
"name": "Referer",
"value": "https://aapanel3.mydomain.com:28635/site/php"
},
{
"name": "Sec-Fetch-Dest",
"value": "empty"
},
{
"name": "Sec-Fetch-Mode",
"value": "cors"
},
{
"name": "Sec-Fetch-Site",
"value": "same-origin"
},
{
"name": "TE",
"value": "trailers"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (X11; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0"
},
{
"name": "x-http-token",
"value": "83MCMP47OpGDlJledyH3EuHQ8txHFdqLKRZljuOmloIl7gdk"
},
{
"name": "X-Requested-With",
"value": "XMLHttpRequest"
}
]
}
}
POST data:
{
"index": "7b0e034195d54e855767ecee8c04f84c"
}
Response:
{
"cert": "<cert_content>",
"root": "root_content",
"cert_timeout": 1742106952,
"private_key": "<private_key_content>",
"domains": [
"mydomain.com",
"*.mydomain.com"
],
"save_path": "vhost/letsencrypt/mydomain.com",
"status": true,
"msg": "Renewed successfully!"
}