acme.sh icon indicating copy to clipboard operation
acme.sh copied to clipboard

Create dns_arvancdn

Open sarbanha opened this issue 3 years ago • 6 comments

This extension enables acme.sh to issue SSL Certificates using https://www.arvancloud.com DNS service

sarbanha avatar Jun 24 '22 13:06 sarbanha

check this guide first: https://github.com/acmesh-official/acme.sh/wiki/DNS-API-Dev-Guide

Neilpang avatar Jun 26 '22 00:06 Neilpang

https://github.com/acmesh-official/acme.sh/wiki/DNS-API-Test

Neilpang avatar Jul 16 '22 01:07 Neilpang

https://github.com/acmesh-official/acme.sh/wiki/DNS-API-Test

I have enabled Actions on my forked repo, I could fixed the issues with shfmt and ShellCheck.

When it reaches out DNS action, script creates/removes/revokes certificate but it fails unexpectedly after revocation, I believe the dnsapi script was tested successfully and there is a glitch in DNS test script, any ideas?

[Sat Jul 16 07:08:27 UTC 2022] code='200'
[Sat Jul 16 07:08:27 UTC 2022] original
[Sat Jul 16 07:08:27 UTC 2022] response
[Sat Jul 16 07:08:27 UTC 2022] Revoke success.
[Sat Jul 16 07:08:27 UTC 2022] Lets find script dir.
[Sat Jul 16 07:08:27 UTC 2022] _SCRIPT_='./letest.sh'
[Sat Jul 16 07:08:27 UTC 2022] _script='/acmetest/letest.sh'
[Sat Jul 16 07:08:27 UTC 2022] _script_home='/acmetest'
[Sat Jul 16 07:08:27 UTC 2022] Using default home:/root/.acme.sh
[Sat Jul 16 07:08:27 UTC 2022] Using config home:/root/.acme.sh
[Sat Jul 16 07:08:27 UTC 2022] Using ACME_DIRECTORY: https://acme-staging-v02.api.letsencrypt.org/directory
[Sat Jul 16 07:08:27 UTC 2022] ACME_DIRECTORY='https://acme-staging-v02.api.letsencrypt.org/directory'
[Sat Jul 16 07:08:27 UTC 2022] _ACME_SERVER_HOST='acme-staging-v02.api.letsencrypt.org'
[Sat Jul 16 07:08:27 UTC 2022] _ACME_SERVER_PATH='directory'
Run Failed
_deactivateDomains='***'
_r='1'
------------------------------------------
[Sat Jul 16 07:08:27 UTC 2022] code='1'
ubuntu:latest [FAIL]
Sending build context to Docker daemon  2.048kB

sarbanha avatar Jul 16 '22 07:07 sarbanha

please rebase to the latest code, and try your ci checks again.

Neilpang avatar Sep 24 '22 16:09 Neilpang

please rebase to the latest code, and try your ci checks again.

rebased and pushed again

sarbanha avatar Oct 10 '22 12:10 sarbanha

https://github.com/sarbanha/acme.sh/actions/runs/3219015524

https://github.com/acmesh-official/acme.sh/wiki/DNS-API-Test

Neilpang avatar Oct 16 '22 15:10 Neilpang