Commit Graph

498 Commits (59d1e16f9cb33ebeac1624f131a39c7088514204)

Author SHA1 Message Date
Yann Bizeul 0575eb671a Fix double quote around URL
Yann Bizeul d06eea53ef Add deploy plugin for Gitlab pages
Yann Bizeul 9e96a93172 Updated README with Gitlab help
little-fat 63134fafec Fix key leakage in SSH deploy log
neil f60dde4138
Merge pull request from Neilpang/dev
Dev
neilpang 9c545059ae fix warning
neilpang 05dea7b22a fix warning
Santeri Kannisto d987d61ea9
Issue bug fix v3
Eliminated php dependency with a private function for urlencode using sed. Php had failed on godaddy due to multiple php instances and naturally cron using the one without the necessary -r option. Compared to previous PR the sed code is now POSIX and should work on all environments.
andrewheberle 8d348954a7
Whitepspace
andrewheberle 7d19d784df
Update cert suffix for bundles .ocsp generation
andrewheberle 733b4e0a34
Fix Le_Keylength case
andrewheberle 08d29a8342
Fix return from reload
andrewheberle 675e2d25d6
update for new haproxy deploy vars
andrewheberle ba20af48d3
Support HAPROXY_DEPLOY_PEM_PATH
Adds compatibility to original haproxy deploy hook while still allowing custom PEM file name (via HAPROXY_DEPLOY_PEM_NAME)
andrewheberle 707e053949
whitespace fixes
andrewheberle c47e67e52c
Fix variable name
andrewheberle 3a95bfb699
Document updated haproxy deploy hook
andrewheberle 6567bb4c12
Update haproxy deploy hook
Add functionality to add OCSP stapling info (.ocsp file), issuer (.issuer file) and multi-cert bundles (suffix on pem file based on key type).

This also corrects the order of key, certificate and intermediate in the PEM file, which although HAProxy does not seem to care, was incorrect in the prior version.
Daniel Watrous c9818ea2c4
add documentation for reload command
Daniel Watrous afe5cb588d
update for POSIX compliance
Daniel Watrous e9e999542d
add reload
Daniel Watrous 5f593994c7
remove more whitespace (trying to get TravisCI working)
Daniel Watrous ec73aeba16
remove whitespace
Daniel Watrous 7573e560b6
Add conditional check to ensure path is provided
Daniel Watrous c8bc155cfe
Merge pull request from dwatrous/patch-2
add docs for HAProxy deployment
Daniel Watrous 1eae73105a
add docs for HAProxy deployment
Daniel Watrous 360dc140ea
implement basic haproxy deploy
HAProxy requires the certificate chain and key to be concatenated and placed somewhere (can be anywhere). This script expects a single environment variable with the path where the concatenated PEM file should be written
Bob Belnap 87a8dda955 add chain cert
Pål Håland 8d38cf4d1f Use allchain instead of ca an cert, add documentation after review
Pål Håland d698c1093a remove spaces around assignment
Pål Håland 7b327d47c0 Fix documentation
Pål Håland e629985cf4 Use _cdomain if ROUTER_OS_HOST is missing
Pål Håland aa875f1147 Merge branch 'master' into dev
Alex 6b15cf3f72
Remove template text
Jakub Wilk 2d7b9817cb Fix typos
David Kerr 98b8bfb3fa Merge branch 'dev' of https://github.com/Neilpang/acme.sh into ssh-deploy
neil d3de50e0f9
Merge pull request from rbelnap/vault-deploy
Vault deploy
Bob Belnap 2c45f27356 rename deploy hook vault to vault_cli
Bob Belnap c86755f1ab format fix
Bob Belnap b8418ced44 syntax fixes
Jose Luis Duran fac0beaa0a
Add support for strongSwan deploys in FreeBSD
Related to 8ea800205c
Bob Belnap 90e587a974 add vault deploy hook script
hiska 8ea800205c support both debian and redhat
David Kerr c809b33161 Merge branch 'master' of https://github.com/Neilpang/acme.sh into ssh-deploy
neil 4ef1159666 Merge pull request from hiskang/deploy/strongswan
Deploy/strongswan
hiska c924e7c537 remove "return 0"
hebbet 372f691fd6 unify headlines
unify headlines in deploy readme
hiska 5f05a452fc Merge branch 'dev' into deploy/strongswan
hiska afe3283c53 Update README.md
hiska 641a2895a6 Create strongswan.sh
neil 0427e8bbb4 Merge pull request from fritteli/deploy-fritzbox
Deploy fritzbox
Santeri Kannisto acf117584b
Apparently UAPI does not return any error code, just JSON output that has a string "status: 0" whenever the command fails.
Manuel Friedli 2fc0225bc9 Make command line example consistent with env variable example.
Manuel Friedli 3536cd336d Merge branch 'dev' into deploy-fritzbox
Santeri Kannisto a9726fde19 1 cert per domain
for cpanel_uapi
Santeri Kannisto f81d4033fa One cert per domain
Deploy works only for the first domain
Manuel Friedli 1e30718df6 Try and work around shellcheck error SC2039: In POSIX sh, printf -%s-- is undefined.
Manuel Friedli 72e1eb88d9 Don't use individual redirects, but do it all in one block.
Manuel Friedli 8ee5ede834 Fix more formatting errors
Manuel Friedli bd8b1a2501 Don't use wget directly, but instead use _get and _post.
Manuel Friedli a098167bdb Fix more formatting errors
Santeri e52304edb4 cpanel_uapi
tried to make it a bit less confusing
Manuel Friedli 6cb5377d73 Fix bugs and more/new formatting errors.
Manuel Friedli a3a92ff1df Fix formatting errors.
Manuel Friedli 103fa959cb Typo
Manuel Friedli b6d48b7a14 Update README.md for the deploy hooks.
Manuel Friedli 412e4e6cf9 Add acknowledgement note
Manuel Friedli e6f81173a3 Delete auto-backup file
Manuel Friedli d50281453d Add --no-check-certificate option to wget, or else the initial deployment won't work because there isn't a valid certificate installed on the router yet.
Manuel Friedli 4bb488258d - Bugfixes
- Make sure the login actually worked
- Less output
Manuel Friedli f6da19ba83 add deploy script for the AVM FRITZ!Box
neilpang a2d6daaef4 fix cpanel_uapi.sh
neilpang 48e9006cd1 fix cpanel uapi
neil d36440a06d Merge pull request from 2globalnomads/patch-1
cpanel_uapi.sh
David Kerr 94e9844179 Merge remote-tracking branch 'upstream/master' into ssh-deploy
Brian Candler 8eab77f3c6 Add deployment script for unifi controller
Santeri 4286b2917e renamed function
Santeri d09b5cb80e Rename cpanel_uapi.sh to cpanel_deploy.sh
Santeri 90fd18bf42 Renamed script to cpanel_uapi.sh
As per Neil's request.
Santeri a577c7215f One more change to pass the check shellcheck test
Now it is tested and works also when run as a root.
Santeri 796647158e Removed double quotes from _opt
Broke GoDaddy cpanel causing error (thanks Hedgehog)
2globalnomads 6c3430b6e5 Wrote missing cpanel.sh
This script I wrote works for me on GoDaddy, but I don't have any other hosting services or cpanel version to test it. Hope it's better than nothing for you. Thanks for your great script!
Cheers,
Santeri
Pål Håland 8c56356459 Merge remote-tracking branch 'upstream/dev' into dev
David Kerr 21f728f0ea Merge remote-tracking branch 'upstream/master' into ssh-deploy
Andre Cantero 1231b71245 Update the notes
Andre Cantero 824ffa24f4 Add shebang
thecantero c140fe9bae Typo Fix
thecantero 4b02ee5b46 Typo fix
thecantero de3bac53bf update README
thecantero 0138e167e9 Update to support Kong-v0.10.x
The previous one is for Kong-v0.9.x only.

This change will allow it to work with v0.10.x.

More info at:
4f960abe33/UPGRADE.md (upgrade-to-010x)
https://getkong.org/docs/0.10.x/admin-api/#add-certificate
David Kerr fd1598017a Merge remote-tracking branch 'upstream/master' into ssh-deploy
Josh Soref df14085ec8 spelling: oops
Josh Soref 00b34eb2a4 spelling: occurred
Josh Soref 4cedbf80df spelling: delimiter
David Kerr 070a141601 Merge remote-tracking branch 'upstream/master' into ssh-deploy
palhaland cee0ab87fc Merge branch 'dev' into dev
hiska bce11af09a Update README.md for OSX Keychain
David Kerr 158abf5c6c Remove line from README.md that I mistakenly added during
merge with master.
David Kerr b30c1daf72 Merge remote-tracking branch 'upstream/master' into ssh-deploy
David Kerr 0649206796 remove _ACME prefix from all exported variables.
Pål Håland 8a604bd2a1 Fixing syntax for schell script checking
hiska 68eb627d62 deploy for OSX Keychain
Pål Håland b8a8e2280d Added deploy script to deploy to the routeros system
Felix Wolfsteller 5288c54aad deploy apache script: fix comment (dovecot/apache)
Closes  .
neilpang 1965035166 support exim4 deploy
neilpang a239a9efd5 fix doc
neilpang 35ca729cb9 fix doc
neilpang ddf293bbcd reload only for renewal
neilpang 45d6e00ff1 fix format
neilpang 6dfc8fe0ea support vsftpd hook
David Kerr e0b00ee11a Merge remote-tracking branch 'upstream/master' into ssh-deploy
neilpang f845b371ce fix format
neilpang 3a1bd3114b add hooks, not implemented yet.
David Kerr 68a35155e4 Improve documentation in readme
David Kerr d04ccb7a3f fix spelling error in readme
David Kerr 76c1ed6628 Additional documentation for the unifi example.
David Kerr 6f4abe95cb update markdown examples.
David Kerr e35e313240 Fix error in Unifi example
David Kerr 3a77a6eded cleanup documentation and suppress some remote messages.
David Kerr 18a90734d9 Alternate backup cleanup after 180 days method.
David Kerr a4b2cebef6 Make backup of certs on remote server optional. Defaults to yes.
David Kerr 68d708e56d Reduce and simplify number of exported variables. Also allow any cert file to
append to previous file.
David Kerr e925ab0999 Merge remote-tracking branch 'upstream/master' into ssh-deploy
neilpang 04e0f87c03 add doc
David Kerr e3feac3fd8 Documentation updates
David Kerr 1a5989350f Some documentation in README
David Kerr 3365df7778 Make certificate domain name part of the backup directory name.
David Kerr 3be5a68e12 Rename sshdeploy.sh to ssh.sh
David Kerr f158caa2eb Updates from code review
David Kerr e02c94eb00 Merge remote-tracking branch 'upstream/master' into ssh-deploy
David Kerr 9507b121ac More selective pruning of certificate backup directories.
David Kerr 3812b275e9 Moving on to the next batch of travis errors.
David Kerr 6c1561f415 Grasping at straws now !!
David Kerr 9ab6353d73 Trying again.
David Kerr ff60dc4d24 More Travis issues !!!
David Kerr 62e7d904b4 Travis errors
David Kerr 5d3de4b670 Additional info messages for backup management
David Kerr 7d75ad4c56 Backup old certificates before overwriting. Add userid export parameter.
And generate error if nothing to do at remote server.
neilpang b4325026b1 exe
David Kerr 989651c23b Initial version
neil 70b63a5ed4 Create README.md
Geoffroi 5fe91d6577 Correction of test from comment of Neilpang + Correction of CRLF with sh not working correctly
Geoffroi 753d0e7df7 Syntax fix part 2
Geoffroi e2cc350fbc Fix function name
Geoffroi 07feb87dee Travis fix
Geoffroi 1699e94f0f Adding kong deploy script (https://getkong.org)
neilpang 4c2a384159 Add shfmt to format source code
neilpang 3db446633c add deploy api