Commit Graph

5220 Commits

Author SHA1 Message Date
neil
16bdc7d0a3 fix from OpenAI https://github.com/acmesh-official/acme.sh/issues/992
https://github.com/acmesh-official/acme.sh/pull/2609
2023-01-27 11:44:20 +08:00
neil
40002e8040
Merge pull request #4447 from PMExtra/feature/vault
improve vault and vault_cli deployhooks
2023-01-24 18:49:18 +08:00
neil
6748c55c04 fix stepca 2023-01-24 18:00:09 +08:00
neil
deb63b4adf fix stepca 2023-01-24 17:58:46 +08:00
neil
015a9b9271 fix notify 2023-01-24 16:45:12 +08:00
neil
ab2305e259 fix stepca 2023-01-24 16:42:10 +08:00
neil
b99c998057 fix https://github.com/acmesh-official/acme.sh/issues/4463 2023-01-24 16:13:42 +08:00
neil
6c0a7144f6 fix https://github.com/acmesh-official/acme.sh/issues/4445 2023-01-24 15:45:25 +08:00
neil
bf50fce5bd fix https://github.com/acmesh-official/acme.sh/issues/4470 2023-01-24 15:17:48 +08:00
neil
8718b156c4
Merge pull request #4471 from vladislav-sharapov/patch-1
fix(dns_openstack): fix argparse error
2023-01-22 14:10:32 +08:00
Vladislav Sharapov
7bbdd1f839 fix(dns_openstack): fix argparse error
Add equal sign to '--record' option to fix argparse error
occurring when ACME token starts with '-'.
2023-01-20 23:56:14 +04:00
neil
ffed1a4afa
Merge pull request #4468 from DreamOfIce/master
Update deploy script for gcore
2023-01-20 09:11:23 +08:00
冰雪殇璃陌梦
1bfd3642e8
Update gcore_cdn.sh 2023-01-19 10:19:05 +08:00
neil
577f4e0cc3
Merge pull request #4430 from zpeschke/gd_grammar
Minor grammar fixes for gd
2023-01-11 20:50:59 +08:00
neil
e2f05f3fc9
Merge pull request #4413 from trulyliu/dev
Add gcore dns support.
2023-01-11 20:46:07 +08:00
Gavin Leo
27f30631ed Add gcore dns support.
https://apidocs.gcore.com/dns
2023-01-05 14:30:02 +08:00
PMExtra
1ccfa96c2e improve logging 2022-12-28 02:47:49 +08:00
neil
a2c64e79ff fix for openbsd 2022-12-26 22:28:08 +08:00
neil
7b623f85cd minor 2022-12-26 21:43:02 +08:00
PMExtra
ed63eb6833 migrate FABIO to VAULT_FABIO_MODE and persist it 2022-12-23 19:34:31 +08:00
PMExtra
b8d0d3c242 improve chain.pem exists evaluating 2022-12-23 19:17:37 +08:00
PMExtra
fe1bfe9ae1 improve vault and vault_api deployhooks 2022-12-23 18:59:01 +08:00
PMExtra
7154c9ee5d improve curl --help predication 2022-12-23 17:42:27 +08:00
PMExtra
057c95bd1c improve wget --content-on-error condition 2022-12-23 17:39:51 +08:00
PMExtra
0cafc00c4f append --fail-with-body argument to curl if supported 2022-12-23 17:22:12 +08:00
neil
75d2898efd
Merge pull request #4441 from plummer86/bugfix/_wget_out_fix
Fix assignment: _wget_out
2022-12-19 10:23:00 +08:00
plummer86
764a4c99fa Fix assignment to _wget_out 2022-12-18 22:32:49 +00:00
Zachary Peschke
160513c671 Minor grammar fixes for gd 2022-12-09 09:55:47 -07:00
neil
a2af26635f use ecc cert 2022-12-04 15:05:30 +08:00
neil
63869deeb2
Merge pull request #4091 from PMExtra/feature/ssh_scp
Refact ssh hook to use deploy config, support scp and support specifying port
2022-12-03 13:58:31 +08:00
Roman Lumetsberger
91e387e8b9 added doc for dns_ipv64_rm 2022-11-30 08:55:27 +01:00
Roman Lumetsberger
7d13146859 Added dns provider for ipv64.net 2022-11-30 08:35:03 +01:00
neil
699d2b7e7e
Merge pull request #4409 from hatamiarash7/patch-1
Update ArvanCloud API URL - Security & CI problem
2022-11-29 21:12:47 +08:00
Arash Hatami
257de15c73
Fix export problems 2022-11-29 13:45:04 +03:30
Arash Hatami
5a0225d033
Fix export problem for special values 2022-11-29 12:21:49 +03:30
beartom
bd2d0e6ad3
Format
Format
2022-11-28 20:59:10 +08:00
Arash Hatami
0c0d1d4e52
Update duplicate message 2022-11-28 16:22:25 +03:30
Arash Hatami
eab9603921
Fix SH format 2022-11-28 16:11:17 +03:30
Arash Hatami
c07db3aa14
add 'Accept' header 2022-11-28 16:09:17 +03:30
neil
a19f7481b2
Merge pull request #4410 from kirisakow/patch-1
Trim trailing slash in `--home` argument's value from the get-go to avoid that subsequently created paths contain two adjacent slashes in the middle
2022-11-28 09:58:46 +08:00
lufi42
2905edce35
Merge branch 'acmesh-official:dev' into dev 2022-11-27 19:55:58 +01:00
beartom
04a5d794ac
Update truenas.sh for certificate in chart release
Update certificate in chart release of TrueCharts if any chart release Apps is using the same certificate as TrueNAS web UI.
2022-11-27 21:55:01 +08:00
Kiril Isakov
264b9819ff
Replace the BASH parameter substitution mechanism (unsupported by sh) with standard commands (supported by sh) 2022-11-27 09:22:06 +01:00
Arash Hatami
4610204c83
Test CI 2022-11-27 10:21:24 +03:30
neil
ecf1f17cf4 update key type 2022-11-27 11:10:14 +08:00
Kiril Isakov
9f942a6b65
Trim trailing slash in --home argument's value
# What's expected

Since in `acme.sh` path strings are concatenated with a hardcoded slash in between, the left operand must never end with a trailing slash for the resulting path to be valid. Otherwise, obviously, the resulting path will have two adjacent slashes in the middle and will not be valid.

# What actually happens

Even though I cannot tell for each of the input params, I know this for sure for the the `--home` argument's value.

If I run `acme.sh` with `--home` argument's value being a path ending in a trailing slash,

```sh
acme.sh ... --debug ... --home /some/path/ ... -d somedomainna.me ...
```

I get the following (distinct) occurrencies of resulting invalid paths containing two adjacent slashes:

```
[...] Using config home:/some/path/

[...] DOMAIN_PATH='/some/path//somedomainna.me'

[...] _CURL='curl --silent --dump-header /some/path//http.header  -L  -g '

[...] The domain key is here: /some/path//somedomainna.me/somedomainna.me.key

[...] _CURL='curl --silent --dump-header /some/path//http.header  -L  -g  -I  '

[...] Your cert is in: /some/path//somedomainna.me/somedomainna.me.cer

[...] Your cert key is in: /some/path//somedomainna.me/somedomainna.me.key

[...] The intermediate CA cert is in: /some/path//somedomainna.me/ca.cer

[...] And the full chain certs is there: /some/path//somedomainna.me/fullchain.cer

```

# Suggested fix

Trim trailing slash in `--home` argument's value from the get-go.
2022-11-26 16:00:03 +01:00
Arash Hatami
f4ed1b32b8
Update dns_arvan.sh
Update API URL
2022-11-26 18:12:11 +03:30
neil
ec0e871592 Use ec-256 as default key length
fix https://github.com/acmesh-official/acme.sh/issues/2350#issuecomment-1324029469
2022-11-23 21:57:38 +08:00
neil
7a756ebc4d start v3.0.6 2022-11-23 21:55:19 +08:00
neil
16dc21afff
Merge pull request #4406 from acmesh-official/dev
sync
2022-11-23 21:44:53 +08:00