Commit Graph

5556 Commits (0c10bd7dd7bba1775e03074e83256c8249697b85)

Author SHA1 Message Date
neil 304cb56337
Merge pull request #4929 from jeromecst/master
Add notification support for ntfy.sh
2024-05-19 09:05:51 +02:00
Sergey Ponomarev 6b7b5caf54 DNS provider API: structured description
Instead of using comments declare info in a special variable.
Then the variable can be used to print the DNS API provider usage.
The usage can be parsed on UI and show all needed inputs for options.

The info is stored in plain string that it's both human-readable and easy to parse:

    dns_example_info='API name
     An extended description.
     Multiline.
    Domains: list of alternative domains to find
    Site: the dns provider website e.g. example.com
    Docs: Link to ACME.sh wiki for the provider
    Options:
     VARIABLE1 Title for the option1.
     VARIABLE2 Title for the option2. Default "default value".
     VARIABLE3 Title for the option3. Description to show on UI. Optional.
    Issues: Link to a support ticket on https://github.com/acmesh-official/acme.sh
    Author: First Lastname <authoremail@example.com>, Another Author <https://github.com/example>;
    '

Here:
VARIABLE1 will be required.
VARIABLE2 will be required too but will be populated with a "default value".
VARIABLE3 is optional and can be empty.

A DNS provider may have alternative options like CloudFlare may use API KEY or API Token.
You can use a second section OptionsAlt: section.

Some providers may have alternative names or domains e.g. Aliyun and AlibabaCloud.
Add them to Domains: section.

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2024-05-18 12:06:41 +03:00
zak905 2797d2c535
fix add and rm method names 2024-05-14 19:50:44 +02:00
zak905 f440656572
create new script for ionos cloud and rollback changes to dns_ionos.sh 2024-05-14 18:35:25 +02:00
Scruel Tao 1dbc58d4e0
chore: optimize more msgs 2024-05-08 14:01:43 +08:00
Scruel Tao 47ccb28482
chore: typo 2024-05-08 04:46:51 +08:00
Scruel Tao 744dea00ca
feat: guide user to run script as root to create temp admin user
Message text and comment optimized
2024-05-08 02:56:21 +08:00
zak905 373c2b379c
remove debug print statements and usage of custom fork of acmetest 2024-05-06 14:53:51 +02:00
Matt Mower 957bbab440 feat: Support manually defining extended key usage in CSR
- New CLI param: --extended-key-usage <string>
- When --extended-key-usage is defined:
  1. Set [v3_req]extendedKeyUsage to the provided value.
  2. Store the value in domain conf Le_ExtKeyUse for reuse.
2024-05-04 11:58:29 -07:00
neil bd48c99383 fix ca names 2024-05-04 16:27:31 +02:00
zak905 52d1d421a3
escape brackets in regexp and format using shfmt 2024-05-03 17:04:49 +02:00
zak905 c3cc13595d
use posix compliant lower case shell command 2024-05-02 18:48:39 +02:00
zak905 adc8031e34
fix shell linter and formating 2024-04-30 17:04:24 +02:00
zak905 0974c74a89 transform record name to lower case when searching for TXT record 2024-04-30 16:59:02 +02:00
zak905 c64aae6f39 more debugging - add function argument printing 2024-04-30 16:59:02 +02:00
zak905 b7b1714637 add some debug statements 2024-04-30 16:59:02 +02:00
zak905 d8525493a1 attempt to use custom fork of acmetest 2024-04-30 16:59:02 +02:00
zak905 30d0945855 fix regexp for findind acme challenge record from API response 2024-04-30 16:59:02 +02:00
zak905 ffde1f8343 linting based on ShellCheck results 2024-04-30 16:59:02 +02:00
zak905 96c35b41ed fix TXT record lookup and removal 2024-04-30 16:59:02 +02:00
zak905 dc2979926f fix zone search 2024-04-30 16:59:02 +02:00
zak905 ff357dd3fb fix syntax error 2024-04-30 16:59:02 +02:00
zak905 f35e15204d implement dns_ionos_rm function 2024-04-30 16:59:02 +02:00
zak905 3ae4ba3300 dns_ionos.sh: implement dns_ionos_add for ionos cloud 2024-04-30 16:59:02 +02:00
neil 0d8a314bcf
Merge pull request #5123 from acmesh-official/dev
sync
2024-04-29 20:15:14 +02:00
neil e7cfde1904
Merge pull request #5049 from hknet/patch-2
fixed handling of key and secret
2024-04-29 20:14:01 +02:00
neil 8c07af6fc7
Merge pull request #5113 from scruel/dev
fix(deploy_dsm): ensure grep get the error code
2024-04-25 09:19:08 +02:00
Scruel Tao cd01104de9
fix(deploy_dsm): ensure grep get the error code
Added grep -o option to ensure the script won't get other digits as the error code result
2024-04-25 13:39:05 +08:00
neil 28f438a6bd
Merge pull request #5111 from scruel/scruel-patch-1 2024-04-24 23:16:49 +02:00
Scruel Tao 9ff89b570f
fix(deploy_dsm): missing gerp -P option on busybox
Fixes:  #5105
2024-04-25 04:02:49 +08:00
neil bc90376489
Merge pull request #5102 from acmesh-official/dev
sync
2024-04-21 12:11:04 +02:00
neil 43b5ea801f convert to pkcs12 when renewal
fix https://github.com/acmesh-official/acme.sh/issues/3474#issuecomment-2058126129
2024-04-21 11:21:45 +02:00
neil 9863e7ea6e
Merge pull request #5023 from scruel/patch-dsm-deploy
Patch Synology DSM deploy: support DSM 6.x & user-friendly refactor.
2024-04-21 09:45:41 +02:00
neil ebaa39b03f
Merge pull request #5075 from acmesh-official/dev
sync
2024-04-01 11:46:18 +02:00
neil fa3d7ad14b
Merge pull request #5069 from annieoxe/decode-eab_hmac_key
Fix: Decode eab_hmac_key as single-line
2024-03-31 23:02:42 +02:00
neil c51104f956 fix format 2024-03-31 20:33:57 +02:00
neil 84795ff4d9
Merge pull request #4757 from laraveluser/master
Add support for Lima-City
2024-03-31 20:20:29 +02:00
neil cc5c722e29
Merge pull request #5072 from aSauerwein/master
feature: add template option for panos deploy hook
2024-03-31 20:15:18 +02:00
asauerwein 4fcddd1893 add template option 2024-03-31 09:16:21 +02:00
laraveluser c8604255e4
Merge branch 'acmesh-official:master' into master 2024-03-27 21:47:09 +01:00
annieoxi 492826a7f2 Fix: Decode eab_hmac_key as single-line
This commit resolves the issue #5068.
2024-03-26 12:35:54 +01:00
Adrian Fedoreanu 5e64781d65
update _get_root check 2024-03-19 19:41:33 +01:00
neil 2d4b900e33
Merge pull request #5032 from scruel/patch-3
fix(config_migrate): always remove domain old key & replace old value by new value
2024-03-18 21:43:03 +01:00
neil d2481f5790
Merge pull request #5048 from hknet/patch-1
dns-record TTL set to 300
2024-03-18 21:25:35 +01:00
neil 49f6104f03
Merge pull request #4979 from derytim/aws_dns_imdsv2
Aws dns imdsv2
2024-03-18 21:16:16 +01:00
neil 2728d2aa6e fix format 2024-03-18 21:09:49 +01:00
neil 0588fc6b7c
Merge pull request #4581 from wlallemand/haproxy-hot-update
haproxy deploy hook updates existing certificate over stats socket
2024-03-18 21:07:12 +01:00
Tim Dery e3cd52cab4 Merge branch 'dev' into aws_dns_imdsv2 2024-03-13 11:06:52 -07:00
Tim Dery b2c6b9a320 attempt _use_metadata fix from j-c-m 2024-03-11 10:33:14 -07:00
Harald Kapper 39fa40ab12
fixed secret+key storage-usage
fixed the key and secret handling via acme account.conf
2024-03-11 03:27:17 +01:00