]> git.proxmox.com Git - mirror_acme.sh.git/log
mirror_acme.sh.git
3 years agoMerge pull request #3464 from jpbede/cleverreach-deploy-sublient
neil [Sun, 4 Apr 2021 11:03:33 +0000 (19:03 +0800)]
Merge pull request #3464 from jpbede/cleverreach-deploy-sublient

CleverReach Deploy Hook: Allow deploy to agency subaccounts

3 years agoMake CI happy
Jan-Philipp Benecke [Tue, 30 Mar 2021 07:18:33 +0000 (09:18 +0200)]
Make CI happy

3 years agoMake uploading cert to subaccount possible
Jan-Philipp Benecke [Tue, 30 Mar 2021 07:13:32 +0000 (09:13 +0200)]
Make uploading cert to subaccount possible

3 years agoMerge pull request #3463 from c35sys/patch-1
neil [Mon, 29 Mar 2021 14:27:07 +0000 (22:27 +0800)]
Merge pull request #3463 from c35sys/patch-1

Use 'vault kv put' instead of 'vault write'

3 years agoUse 'vault kv put' instead of 'vault write'
Christophe Le Guern [Mon, 29 Mar 2021 13:10:14 +0000 (15:10 +0200)]
Use 'vault kv put' instead of 'vault write'

When using vault_cli with a kv2 path, it isn't working. I have the following error:
```
WARNING! The following warnings were returned from Vault:

  * Invalid path for a versioned K/V secrets engine. See the API docs for the
  appropriate API endpoints to use. If using the Vault CLI, use 'vault kv put'
  for this operation.
```
The new way to write data  is to use `vault kv put`, it is compatible with kv1 and kv2.
Ref: https://www.vaultproject.io/docs/commands#reading-and-writing-data
```
The original version of K/V used the common read and write operations. A more advanced K/V Version 2 engine was released in Vault 0.10 and introduced the kv get and kv put commands.
```

3 years agoMerge pull request #3445 from woutd/constellix-wildcard-support
neil [Sat, 27 Mar 2021 00:10:59 +0000 (08:10 +0800)]
Merge pull request #3445 from woutd/constellix-wildcard-support

Add wildcard certificate support for dns_constellix

3 years agoMake uploading cert to subaccount possible
Jan-Philipp Benecke [Fri, 26 Mar 2021 14:37:12 +0000 (15:37 +0100)]
Make uploading cert to subaccount possible

3 years agoWorkaround for Solaris, as it does not support non-greedy regex
wout [Wed, 24 Mar 2021 12:56:14 +0000 (13:56 +0100)]
Workaround for Solaris, as it does not support non-greedy regex

3 years agoCatch the situation when the TXT record is updated with the same value
wout [Wed, 24 Mar 2021 08:01:54 +0000 (09:01 +0100)]
Catch the situation when the TXT record is updated with the same value

3 years agoWhile [0-9]+ is a bit more correct than [0-9]*, the former does not seem to work...
wout [Tue, 23 Mar 2021 20:20:27 +0000 (21:20 +0100)]
While [0-9]+ is a bit more correct than [0-9]*, the former does not seem to work on Solaris.

3 years agofix freebsd
neilpang [Sun, 21 Mar 2021 14:46:35 +0000 (22:46 +0800)]
fix freebsd

3 years agoRetrigger checks
wout [Sun, 14 Mar 2021 14:54:28 +0000 (15:54 +0100)]
Retrigger checks

3 years agoRetrigger checks
wout [Sun, 14 Mar 2021 14:50:16 +0000 (15:50 +0100)]
Retrigger checks

3 years agoMerge pull request #3448 from qkdreyer/dev
neil [Sun, 14 Mar 2021 01:22:18 +0000 (09:22 +0800)]
Merge pull request #3448 from qkdreyer/dev

Create dns_porkbun.sh

3 years agofix: prevent rate limit
qkdreyer [Sat, 13 Mar 2021 13:53:43 +0000 (14:53 +0100)]
fix: prevent rate limit

3 years agofeat: add dns_porkbun
Quentin Dreyer [Fri, 12 Mar 2021 11:03:36 +0000 (12:03 +0100)]
feat: add dns_porkbun

3 years agofix format
neil [Sat, 13 Mar 2021 12:46:12 +0000 (20:46 +0800)]
fix format

3 years agofix https://github.com/acmesh-official/acme.sh/issues/3312
neil [Sat, 13 Mar 2021 12:43:25 +0000 (20:43 +0800)]
fix https://github.com/acmesh-official/acme.sh/issues/3312

3 years agoMerge pull request #3449 from anom-human/master
neil [Sat, 13 Mar 2021 12:42:12 +0000 (20:42 +0800)]
Merge pull request #3449 from anom-human/master

Update dns_servercow.sh to support wildcard certs

3 years agoUpdate dns_servercow.sh to support wildcard certs
anom-human [Thu, 11 Mar 2021 19:25:49 +0000 (20:25 +0100)]
Update dns_servercow.sh to support wildcard certs

Updated dns_servercow.sh to support txt records with multiple entries. This supports wildcard certificates that require txt records with the same name and different contents.

3 years agoUpdate dns_servercow.sh to support wildcard certs
anom-human [Thu, 11 Mar 2021 18:11:02 +0000 (19:11 +0100)]
Update dns_servercow.sh to support wildcard certs

Updated dns_servercow.sh to support txt records with multiple entries. This supports wildcard certificates that require txt records with the same name and different contents.

3 years agoFix typo
wout [Wed, 10 Mar 2021 22:36:34 +0000 (23:36 +0100)]
Fix typo

3 years agoImprove the remove handling so it does not print errors
wout [Wed, 10 Mar 2021 22:34:21 +0000 (23:34 +0100)]
Improve the remove handling so it does not print errors

3 years agoFix checks
wout [Wed, 10 Mar 2021 15:32:09 +0000 (16:32 +0100)]
Fix checks

3 years agoAdd wildcard certificate support for dns_constellix
wout [Wed, 10 Mar 2021 15:18:07 +0000 (16:18 +0100)]
Add wildcard certificate support for dns_constellix

3 years agofix format
neilpang [Thu, 4 Mar 2021 13:50:54 +0000 (21:50 +0800)]
fix format

3 years agofix https://github.com/acmesh-official/acme.sh/issues/3019
neilpang [Thu, 4 Mar 2021 13:38:51 +0000 (21:38 +0800)]
fix https://github.com/acmesh-official/acme.sh/issues/3019

3 years agofix https://github.com/acmesh-official/acme.sh/issues/3433
neilpang [Mon, 1 Mar 2021 10:13:50 +0000 (18:13 +0800)]
fix https://github.com/acmesh-official/acme.sh/issues/3433

3 years agoMerge pull request #3430 from lbrocke/dns-api-ionos
neil [Sat, 27 Feb 2021 03:07:07 +0000 (11:07 +0800)]
Merge pull request #3430 from lbrocke/dns-api-ionos

dnsapi/ionos: Update API to use POST instead of PATCH for adding TXT records

3 years agoMerge pull request #3426 from jakelamotta/master
neil [Fri, 26 Feb 2021 14:29:48 +0000 (22:29 +0800)]
Merge pull request #3426 from jakelamotta/master

Fix issue with subdomain certificates in dns_simply

3 years agodnsapi/ionos: Use POST instead of PATCH for adding TXT record
Lukas Brocke [Tue, 23 Feb 2021 18:49:58 +0000 (19:49 +0100)]
dnsapi/ionos: Use POST instead of PATCH for adding TXT record

The API now supports a POST route for adding records. Therefore
checking for already existing records and including them in a PATCH
request is no longer necessary.

3 years agofix https://github.com/acmesh-official/acme.sh/issues/3402
neilpang [Wed, 24 Feb 2021 23:45:22 +0000 (07:45 +0800)]
fix https://github.com/acmesh-official/acme.sh/issues/3402

3 years agoAdds comment
Kristian Johansson [Wed, 24 Feb 2021 16:34:28 +0000 (17:34 +0100)]
Adds comment

3 years agoMerge pull request #3423 from ghen2/dev
neil [Wed, 24 Feb 2021 13:46:09 +0000 (21:46 +0800)]
Merge pull request #3423 from ghen2/dev

No need to include EC parameters explicitly with the private key.

3 years agoFixes response handling and thereby allow issuing of subdomain certs
Kristian Johansson [Wed, 24 Feb 2021 07:53:35 +0000 (08:53 +0100)]
Fixes response handling and thereby allow issuing of subdomain certs

3 years agoNo need to include EC parameters explicitly with the private key.
Geert Hendrickx [Tue, 23 Feb 2021 09:28:17 +0000 (10:28 +0100)]
No need to include EC parameters explicitly with the private key.
(they are embedded)

3 years agoUpdate dns_dp.sh
czeming [Sat, 20 Feb 2021 09:16:33 +0000 (17:16 +0800)]
Update dns_dp.sh

没有encode中文字符会导致提交失败

3 years agoMerge pull request #3416 from acmesh-official/dev
neil [Fri, 19 Feb 2021 13:33:44 +0000 (21:33 +0800)]
Merge pull request #3416 from acmesh-official/dev

sync

3 years agoMerge pull request #3330 from medmunds/feature/notify-smtp
neil [Fri, 19 Feb 2021 01:20:24 +0000 (09:20 +0800)]
Merge pull request #3330 from medmunds/feature/notify-smtp

Implement smtp notify hook

3 years agoChange default SMTP_SECURE to "tls"
medmunds [Wed, 17 Feb 2021 19:39:16 +0000 (11:39 -0800)]
Change default SMTP_SECURE to "tls"

Secure by default. Also try to minimize configuration errors.
(Many ESPs/ISPs require STARTTLS, and most support it.)

3 years agoPrefer Python to curl when both available
medmunds [Wed, 17 Feb 2021 18:02:14 +0000 (10:02 -0800)]
Prefer Python to curl when both available

3 years agoUse email.policy.default in Python 3 implementation
medmunds [Wed, 17 Feb 2021 17:57:44 +0000 (09:57 -0800)]
Use email.policy.default in Python 3 implementation

Improves standards compatibility and utf-8 handling
in Python 3.3-3.8. (email.policy.default becomes the
default in Python 3.9.)

3 years agoAdd Date email header in Python implementation
medmunds [Wed, 17 Feb 2021 17:46:13 +0000 (09:46 -0800)]
Add Date email header in Python implementation

3 years agoClarify _readaccountconf_mutable_default
medmunds [Tue, 16 Feb 2021 22:41:21 +0000 (14:41 -0800)]
Clarify _readaccountconf_mutable_default

3 years agoClean email headers and warn on unsupported address format
medmunds [Tue, 16 Feb 2021 22:02:09 +0000 (14:02 -0800)]
Clean email headers and warn on unsupported address format

Just in case, make sure CR or NL don't end up in
an email header.

3 years agoImplement _rfc2822_date helper
medmunds [Tue, 16 Feb 2021 21:13:26 +0000 (13:13 -0800)]
Implement _rfc2822_date helper

3 years agoRework read/save config to not save default values
medmunds [Tue, 16 Feb 2021 20:49:27 +0000 (12:49 -0800)]
Rework read/save config to not save default values

Add and use _readaccountconf_mutable_default and
_saveaccountconf_mutable_default helpers to capture
common default value handling.

New approach also eliminates need for separate
underscore-prefixed version of each conf var.

3 years agoAdd _clearaccountconf_mutable()
medmunds [Tue, 16 Feb 2021 17:33:39 +0000 (09:33 -0800)]
Add _clearaccountconf_mutable()

3 years agoUse PROJECT_NAME and VER for X-Mailer header
medmunds [Mon, 15 Feb 2021 20:23:48 +0000 (12:23 -0800)]
Use PROJECT_NAME and VER for X-Mailer header

Also add X-Mailer header to Python version

3 years agomake the fix for rsa key only
neilpang [Mon, 15 Feb 2021 13:35:59 +0000 (21:35 +0800)]
make the fix for rsa key only

3 years agosupport openssl 3.0
neilpang [Mon, 15 Feb 2021 13:25:27 +0000 (21:25 +0800)]
support openssl 3.0
fix https://github.com/acmesh-official/acme.sh/issues/3399

3 years agoMerge pull request #3409 from eastonman/master
neil [Mon, 15 Feb 2021 12:44:09 +0000 (20:44 +0800)]
Merge pull request #3409 from eastonman/master

DNSAPI, Huaweicloud DNS: Add error handling

3 years agoMerge pull request #3410 from acmesh-official/dev
neil [Mon, 15 Feb 2021 12:03:32 +0000 (20:03 +0800)]
Merge pull request #3410 from acmesh-official/dev

sync

3 years agofix: fix freebsd and solaris
Easton Man [Mon, 15 Feb 2021 07:19:18 +0000 (15:19 +0800)]
fix: fix freebsd and solaris

3 years agofeat: add huaweicloud error handling
Easton Man [Mon, 15 Feb 2021 07:18:49 +0000 (15:18 +0800)]
feat: add huaweicloud error handling

3 years agoFix: Unifi deploy hook support Unifi Cloud Key (#3327)
Mike Edmunds [Mon, 15 Feb 2021 07:01:21 +0000 (23:01 -0800)]
Fix: Unifi deploy hook support Unifi Cloud Key (#3327)

* fix: unifi deploy hook also update Cloud Key nginx certs

When running on a Unifi Cloud Key device, also deploy to
/etc/ssl/private/cloudkey.{crt,key} and reload nginx. This
makes the new cert available for the Cloud Key management
app running via nginx on port 443 (as well as the port 8443
Unifi Controller app the deploy hook already supported).

Fixes #3326

* Improve settings documentation comments

* Improve Cloud Key pre-flight error messaging

* Fix typo

* Add support for UnifiOS (Cloud Key Gen2)

Since UnifiOS does not use the Java keystore (like a Unifi
Controller or Cloud Key Gen1 deploy), this also reworks
the settings validation and error messaging somewhat.

* PR review fixes

* Detect unsupported Cloud Key java keystore location

* Don't try to restart inactive services

(and remove extra spaces from reload command)

* Clean up error messages and internal variables

* Change to _getdeployconf/_savedeployconf

* Switch from cp to cat to preserve file permissions

3 years agoMore than one blank line is an abomination, apparently
medmunds [Mon, 15 Feb 2021 04:06:07 +0000 (20:06 -0800)]
More than one blank line is an abomination, apparently

I will not try to use whitespace to group code visually

3 years agoImplement curl version of smtp notify-hook
medmunds [Mon, 15 Feb 2021 03:56:23 +0000 (19:56 -0800)]
Implement curl version of smtp notify-hook

3 years agoPrep for curl or Python; clean up SMTP_* variable usage
medmunds [Sun, 14 Feb 2021 23:47:51 +0000 (15:47 -0800)]
Prep for curl or Python; clean up SMTP_* variable usage

3 years agoAdd instructions for reporting bugs
medmunds [Mon, 11 Jan 2021 20:59:51 +0000 (12:59 -0800)]
Add instructions for reporting bugs

3 years agoOnly save config if send is successful
medmunds [Mon, 11 Jan 2021 19:46:26 +0000 (11:46 -0800)]
Only save config if send is successful

3 years agoMake shfmt happy
medmunds [Wed, 30 Dec 2020 01:10:36 +0000 (17:10 -0800)]
Make shfmt happy

(I'm open to better ways of formatting the heredoc
that embeds the Python script.)

3 years agoImplement smtp notify hook
medmunds [Wed, 30 Dec 2020 00:28:38 +0000 (16:28 -0800)]
Implement smtp notify hook

Support notifications via direct SMTP server connection.
Uses Python (2.7.x or 3.4+) to communicate with SMTP server.

3 years agoduckdns - fix "integer expression expected" errors (#3397)
jerrm [Sat, 13 Feb 2021 10:58:44 +0000 (05:58 -0500)]
duckdns - fix "integer expression expected" errors (#3397)

* fix "integer expression expected" errors

* duckdns fix

* Update dns_duckdns.sh

* Update dns_duckdns.sh

3 years agoupgrade freebsd and solaris
neilpang [Sat, 13 Feb 2021 09:27:22 +0000 (17:27 +0800)]
upgrade freebsd and solaris

3 years agoChain (#3408)
neil [Sat, 13 Feb 2021 08:22:31 +0000 (16:22 +0800)]
Chain (#3408)

* fix https://github.com/acmesh-official/acme.sh/issues/3384
match the issuer to the root CA cert subject

* fix format

* fix https://github.com/acmesh-official/acme.sh/issues/3384

* remove the alt files. https://github.com/acmesh-official/acme.sh/issues/3384

3 years agoMerge pull request #3401 from gnought/bugfix/preferred_chain_isrg
neil [Fri, 12 Feb 2021 06:33:02 +0000 (14:33 +0800)]
Merge pull request #3401 from gnought/bugfix/preferred_chain_isrg

Updated --preferred-chain to issue ISRG properly

3 years agoMerge pull request #3403 from manuelm/dev
neil [Fri, 12 Feb 2021 03:03:38 +0000 (11:03 +0800)]
Merge pull request #3403 from manuelm/dev

dnsapi/pdns: also normalize json response in detecting root zone

3 years agodnsapi/pdns: also normalize json response in detecting root zone
manuel [Thu, 11 Feb 2021 10:20:18 +0000 (11:20 +0100)]
dnsapi/pdns: also normalize json response in detecting root zone

3 years agoUpdated --preferred-chain to issue ISRG properly
Gnought [Wed, 10 Feb 2021 17:08:08 +0000 (01:08 +0800)]
Updated --preferred-chain to issue ISRG properly

To support different openssl crl2pkcs7 help cli format

3 years agoMerge pull request #3338 from fvahid/master
neil [Thu, 4 Feb 2021 14:20:00 +0000 (22:20 +0800)]
Merge pull request #3338 from fvahid/master

update arvan api script

3 years agoMerge pull request #3387 from acmesh-official/dev
neil [Sat, 30 Jan 2021 05:42:43 +0000 (13:42 +0800)]
Merge pull request #3387 from acmesh-official/dev

fix format

3 years agofix format
neil [Sat, 30 Jan 2021 04:05:23 +0000 (12:05 +0800)]
fix format

3 years agoMerge pull request #3386 from acmesh-official/dev
neil [Sat, 30 Jan 2021 03:59:28 +0000 (11:59 +0800)]
Merge pull request #3386 from acmesh-official/dev

sync

3 years agoupdate readme
neil [Sat, 30 Jan 2021 03:44:42 +0000 (11:44 +0800)]
update readme

3 years agofix online install (#3385)
neil [Sat, 30 Jan 2021 03:27:18 +0000 (11:27 +0800)]
fix online install (#3385)

3 years agofix docker build (#3383)
neil [Tue, 26 Jan 2021 14:10:53 +0000 (22:10 +0800)]
fix docker build (#3383)

* fix dockerhub

* fix

Co-authored-by: neil <win10@neilpang.com>
3 years agoMerge pull request #3381 from dgasaway/patch-1
neil [Tue, 26 Jan 2021 11:10:23 +0000 (19:10 +0800)]
Merge pull request #3381 from dgasaway/patch-1

Change ipconfig.co to ifconfig.co

3 years agoChange ipconfig.co to ifconfig.co
dgasaway [Mon, 25 Jan 2021 19:46:52 +0000 (11:46 -0800)]
Change ipconfig.co to ifconfig.co

URL https://ipconfig.co/ip does not currently work, and since https://ifconfig.co/ip is mentioned on the DNS API wiki page, I assume these messages were a typo.

3 years agoMerge pull request #3378 from mayswind/master
neil [Fri, 22 Jan 2021 01:22:41 +0000 (09:22 +0800)]
Merge pull request #3378 from mayswind/master

update dnspod.com api

3 years agoMerge pull request #3377 from lbrocke/dns-api-ionos
neil [Fri, 22 Jan 2021 01:21:25 +0000 (09:21 +0800)]
Merge pull request #3377 from lbrocke/dns-api-ionos

Add IONOS API support

3 years agodnsapi/ionos: Change to root zone finding algorithm
Lukas Brocke [Thu, 21 Jan 2021 15:10:10 +0000 (16:10 +0100)]
dnsapi/ionos: Change to root zone finding algorithm

3 years agoupdate dnspod.com api
MaysWind [Thu, 21 Jan 2021 14:15:23 +0000 (22:15 +0800)]
update dnspod.com api

3 years agodnsapi/ionos: Fixes for Solaris
Lukas Brocke [Wed, 20 Jan 2021 20:08:58 +0000 (21:08 +0100)]
dnsapi/ionos: Fixes for Solaris

3 years agodnsapi/ionos: Add support for v2 wildcard certificates
Lukas Brocke [Mon, 18 Jan 2021 13:35:08 +0000 (14:35 +0100)]
dnsapi/ionos: Add support for v2 wildcard certificates

3 years agofix format
neil [Sat, 16 Jan 2021 15:50:57 +0000 (23:50 +0800)]
fix format

3 years agoMerge pull request #3365 from pssara/hotfix/dns_ispconfig.sh-3239-2696
neil [Sat, 16 Jan 2021 15:36:59 +0000 (23:36 +0800)]
Merge pull request #3365 from pssara/hotfix/dns_ispconfig.sh-3239-2696

Fixed issue 3239 and 2696 with ISP config

3 years agoMerge pull request #3343 from markchalloner/master
neil [Sat, 16 Jan 2021 05:26:43 +0000 (13:26 +0800)]
Merge pull request #3343 from markchalloner/master

Add Peplink deploy hook

3 years agoFixed issue with ISP config where the Client ID was asumed to be the same as the...
pssara [Fri, 15 Jan 2021 14:12:53 +0000 (15:12 +0100)]
Fixed issue with ISP config where the Client ID was asumed to be the  same as the SYS User ID

3 years agoAdd Peplink deploy hook
Mark Challoner [Wed, 6 Jan 2021 20:20:21 +0000 (20:20 +0000)]
Add Peplink deploy hook

3 years agoMerge pull request #3333 from mjbnz/patch-1
neil [Tue, 12 Jan 2021 01:32:07 +0000 (09:32 +0800)]
Merge pull request #3333 from mjbnz/patch-1

Add Telegram notify hook

3 years agoMerge pull request #3352 from senjoo/master
neil [Mon, 11 Jan 2021 14:00:45 +0000 (22:00 +0800)]
Merge pull request #3352 from senjoo/master

Added RackCorp API Integration

3 years ago_get_root now does not skip the first label of the domain
Stephen Dendtler [Mon, 11 Jan 2021 13:03:42 +0000 (13:03 +0000)]
_get_root now does not skip the first label of the domain

3 years agoAvoid usage of sed -e
Mike Beattie [Sun, 10 Jan 2021 22:27:39 +0000 (11:27 +1300)]
Avoid usage of sed -e

3 years agoCorrect shebang
Mike Beattie [Sun, 10 Jan 2021 22:21:46 +0000 (11:21 +1300)]
Correct shebang

3 years agoAdded RackCorp API Integration
Stephen Dendtler [Sun, 10 Jan 2021 11:19:16 +0000 (11:19 +0000)]
Added RackCorp API Integration

3 years agofix https://github.com/acmesh-official/acme.sh/issues/3156
neil [Sun, 10 Jan 2021 03:47:54 +0000 (11:47 +0800)]
fix https://github.com/acmesh-official/acme.sh/issues/3156

3 years agoMerge pull request #3347 from JamesTheAwesomeDude/master
neil [Sun, 10 Jan 2021 03:06:44 +0000 (11:06 +0800)]
Merge pull request #3347 from JamesTheAwesomeDude/master

Update README to reflect the fact that this is a general-purpose ACME client

3 years agoMerge pull request #3349 from acmesh-official/dev
neil [Sun, 10 Jan 2021 02:48:51 +0000 (10:48 +0800)]
Merge pull request #3349 from acmesh-official/dev

sync

3 years agoThis is a general-purpose ACME client. We should be proud of this.
James Edington [Fri, 8 Jan 2021 18:14:39 +0000 (11:14 -0700)]
This is a general-purpose ACME client. We should be proud of this.