Commit Graph

261 Commits (806b746fc0522bed79a1b51f3c0137a0fa721dc5)

Author SHA1 Message Date
dkerr64 806b746fc0 Fix bug where backup and batch_mode yes/no values could not be changed.
Once set to "no" then they could never be set back to "yes"
5 years ago
dkerr64 cc820e97c6 Add support for DEPLOY_SSH_BATCH_MODE with default of yes.
Before this update all remote commands were bunched together and
sent to the remote host in a single SSH command.  This could result
in a very long sequence of commands that might be rejected by a
remote host (example is VMware ESXi that uses busybox sh).
With this update you can set DEPLOY_SSH_BATCH_MODE="no" and
each remote command is sent as a separate SSH call so now we
do not have big long sequence of commands.  Defaults to same
behaviour as before this update.
5 years ago
dkerr64 283b04df73 Move cleanup of backup directory to first step in the function. 5 years ago
dkerr64 6420d1239f Move call to remote system into separate function 5 years ago
dkerr64 3d9608faa0 Move -T parameter into default ssh command variable 5 years ago
xpac1985 e184a1b9e6
haproxy deploy script now compatible with OpenSSL v1.1+
haproxy deploy script now compatible with OpenSSL v1.1+

The OpenSSL OCSP request for haproxy deployment breaks from OpenSSL v1.1.0 on.
The format of the `-header` option has been changed and does now contain a `=` instead of a whitespace.
Other projects have hit the same issue:
https://github.com/nghttp2/nghttp2/issues/742

This commit determines the OpenSSL/LibreSSL version and then adjusts the request accordingly.
Also removed the duplicate command line and added some more debug output.
5 years ago
neil 754f7a7891
Merge pull request #2614 from PaloAltoNetworks/deploy-panos
Adding abillity to deploy cert to Palo Alto Networks Firewall via API.
5 years ago
Paul Nguyen 21450a08c2 Fixed 6 character requirement. 5 years ago
Paul Nguyen c355b25bb1 Fixed line formatting 5 years ago
Paul Nguyen 1fe3d80838 Updated to use saveconf function and base64encode. 5 years ago
Paul Nguyen 930e16b64a fix gitdiff 5 years ago
Paul Nguyen 2077a70d03 Fixing gitdiff 5 years ago
Paul Nguyen cbdb8bd9b9 Fixing gitdiff 5 years ago
Paul Nguyen 5dcb417676 ShellCheck fixes 5 years ago
Paul Nguyen 71bc993e3d Fixed Shellchecks 5 years ago
Paul Nguyen c2812896f8 Update deployer 5 years ago
Brian Hartvigsen 1b475cf9f3
Remove -q from greps 5 years ago
Brian Hartvigsen d07172a528
Replace disabled linter with variable substituion 5 years ago
Brian Hartvigsen 79637097ba
Use _utc_date 5 years ago
Brian Hartvigsen 1259341095
Use deployconf properly 5 years ago
Brian Hartvigsen 5d3bc95ac5
Fix some debug output 5 years ago
Brian Hartvigsen de25232a73
Allow creating new certificates when certificate is not found 5 years ago
Brian Hartvigsen 95769de464
Fix shfmt/shellcheck issues 5 years ago
Brian Hartvigsen 52a168b961
Stop using jq/curl directly
This is a lot more fragile then the previous code due to treating JSON as just a string
5 years ago
Brian Hartvigsen b3b00b6700
Using domainconf instead of account 5 years ago
Brian Hartvigsen 8e8cda132c
Remove boilerplate from what I used for template 5 years ago
Brian Hartvigsen 6459ccb185
Cleanup shfmt warnings 5 years ago
Brian Hartvigsen 548f83c3ad
Cleanup shellcheck errors 5 years ago
Brian Hartvigsen 555e0de9e4
Initial support for Synology DSM
This allows you to update a key on a Synology DSM using the existing API.
Handles restarting the necessary services the certificate is attached to and all other internal stuff (copying the certificate around, etc.)

This is way less error prone than most articles I've found on how to update a Synology DSM certificate.
5 years ago
Paul Nguyen d9a9695fe0 Deploy certificates to Palo Alto Network Firewalls 5 years ago
neilpang d795fac37a update repo name 5 years ago
Charlie Garrison 84b0f29d87
Merge branch 'dev' into master 5 years ago
Charlie Garrison b23e05dbc5 Added trailing slash to end of each line of DEPLOY_SCRIPT_CMD 5 years ago
neil 7ad3ddef2a
Merge pull request #2539 from temoffey/gcore_cdn
Gcore cdn
5 years ago
temoffey 252a21e2ae fixed json parse regex for support api gcore_cdn 5 years ago
Peter Dave Hello ac9f6e3a41 Remove trailing spaces in text files
This issue in the shell scripts will also be detected in the stable
version of shfmt(we are currently using an ancient pre-release of shfmt)
5 years ago
neil ee38cccad8
sync (#2436)
* fix https://github.com/Neilpang/acme.sh/issues/2409 (#2430)

* Add variable exports for Successful Post Hook and Renew Hook calls (#2431)

* fixed json parse regex for support api gcore_cdn (#2381)
6 years ago
Тимур Яхин f82ff90f06 fixed json parse regex for support api gcore_cdn (#2381) 6 years ago
neil 55dea4ee9d
sync (#2404)
* support jdcloud.com

* fix format

* ttl 3000

* Escape slashes (#2375)

* Change 1.1.1.1 to 1.0.0.1 to probe compatibility (#2330)

As we can see, 1.1.1.1 is not routed or routed to an Intranet devices due to historical reason. Change 1.1.1.1 to 1.0.0.1 will have a better compatibility. I found this problem on my Tencent Cloud server.

* check empty id

* fix error

* Add dnsapi for Vultr (#2370)

* Add Vultr dns api

* PushOver notifications (#2325)

* PushOver notifications, using AppToken, UserKey, and optional sounds

* fix errors

* added dns api support for hexonet (#1776)

* update

* minor

* support new Cloudflare Token format
fix https://github.com/Neilpang/acme.sh/issues/2398

* fix wildcard domain name

* add more info

* fix https://github.com/Neilpang/acme.sh/issues/2377

* fix format

* fix format
6 years ago
neilpang 45e8bb03e4 add more info 6 years ago
neilpang 54e189616c fix wildcard domain name 6 years ago
neil 06f860c8ea
Merge pull request #2292 from cngarrison/master
change to routeros native script rather than bash multiline commands
6 years ago
neilpang 951bd3a517 minor, check for mkdir 6 years ago
neilpang 2e3ddd3a61 trim quotation marks 6 years ago
Charlie Garrison c42dbbfec8 reformatted RouterOS script for shfmt checks 6 years ago
neilpang aec6636205 add _getdeployconf 6 years ago
neilpang a18c3ff07d use `sh -c` 6 years ago
neilpang 64928b28bc trim quotation marks 6 years ago
neilpang 0bbaa51945 fix format 6 years ago
neilpang 561803c0a7 add deploy hook to docker containers 6 years ago