Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2022-11-01 | Process arguments containing white space correctly | Thomas Lange | 1 | -1/+1 | |
Fix a bug where an argument containing white space is processed as two different arguments even if the argument was quoted correctly. Example: $ painless-le "target dir" example.org www.example.org > $1="target", $2="dir", $3="example.org" [...] To ensure that white space within arguments will be processed correctly, we must call "set" within "eval", and because of "eval" we need quoted arguments, so remove the "-u" („unquoted“) option from getopt. | |||||
2022-11-01 | Remove "LETSENCRYPT_COMMAND_(AFTER|BEFORE)" hooks | Thomas Lange | 2 | -20/+1 | |
Instead of manually editing the script for defining commands that should be execute BEFORE and AFTER the ACME challenge, the users of this script better should execute those commands in their shell before and after running PainlessLE. There is no need for editing the script... | |||||
2022-11-01 | Rename "LETSENCRYPT_ENDPOINT" to "ACME_ENDPOINT" | Thomas Lange | 2 | -4/+4 | |
2022-11-01 | Don't use system-wide OpenSSL config anymore | Thomas Lange | 1 | -3/+12 | |
Use an inline assembled OpenSSL configuration instead of relying on the system-wide OpenSSL configuration (/etc/ssl/openssl.cnf) which location was specified by the hardcoded OPENSSLCONF variable inside the script. If the system-wide OpenSSL configuration file was not properly formatted or otherwise customized by the system administrator, it could've lead to conflicts with the CSR generation process in PainlessLE. The inline configuration now only consists of the neccessary parts which are relevant for generating the Certificate-Signing-Request. Tested on: - OpenSSL 1.1.1n @ Debian 11 (bullseye) - OpenSSL 1.1.1d @ openSUSE Leap 15.3 | |||||
2022-11-01 | Use PEM format for temporary CSR file | Thomas Lange | 1 | -1/+1 | |
The Certificate-Signing-Request file which is passed to Certbot must be encoded either in PEM or DER format. Because PEM is the default, we can omit the unnecessary "-outform der" option of the openssl command. | |||||
2022-10-24 | Do some code cleanup/optimizing (including bugfix) | Thomas Lange | 1 | -48/+49 | |
Do some code cleanup and optimizing, and fix a bug where the script will always return exit code 1 if LETSENCRYPT_COMMAND_AFTER wasn't defined. The bug was caused by this last line in the script: [ ! -z "${LETSENCRYPT_COMMAND_AFTER}" ] \ && eval $LETSENCRYPT_COMMAND_AFTER ... and has been fixed by putting the "eval $LETSENCRYPT_COMMAND_AFTER" line into a real "if" container so that it doesn't affect the exit code of the script when LETSENCRYPT_COMMAND_AFTER is undefined: if [ ! -z "${LETSENCRYPT_COMMAND_AFTER}" ]; then eval $LETSENCRYPT_COMMAND_AFTER fi | |||||
2022-10-24 | Use positional args (change usage instructions) | Thomas Lange | 2 | -37/+49 | |
Use positional arguments for providing the target directory and the list of DNS hostnames to include within the certificate. Change the usage instructions accordingly and optimize some sentences in README file. | |||||
2022-10-24 | Normalize command-line arguments with GNU getopt | Thomas Lange | 1 | -1/+6 | |
2022-10-23 | Optimize readme.md | Thomas Lange | 1 | -10/+22 | |
2022-10-23 | Update production ACME endpoint address | Thomas Lange | 1 | -1/+1 | |
2022-10-22 | Put script into package directory | Thomas Lange | 2 | -2/+13 | |
Put the script into the package directory which reflects the directory structure of /usr/local. This makes it easily possible to install the script to /usr/local/sbin with a tool like *GNU Stow*. | |||||
2022-10-22 | Update Let's Encrypt Staging Environment URL | Thomas Lange | 1 | -1/+1 | |
2022-10-22 | Ensure that files ending with an LF character | Thomas Lange | 3 | -3/+3 | |
2021-03-11 | Make some more corrections to readme.md | Thomas Lange | 1 | -6/+6 | |
2021-03-11 | Make some corrections to readme.md | Thomas Lange | 1 | -3/+3 | |
2018-05-31 | Call "shift" after the getopts while loop | Thomas Lange | 1 | -1/+1 | |
2018-05-20 | Remove wrong unicode character U+013A with U+006C | Thomas Lange | 1 | -1/+1 | |
2018-05-20 | Remove the special emphasis of "RSA" because EC keys are working too | Thomas Lange | 2 | -7/+7 | |
2018-03-31 | Remove unnecessary command-line option "--text" | Thomas Lange | 1 | -1/+1 | |
This commit removes the unnecessary command-line option "--text" (see https://github.com/certbot/certbot/issues/4511#issuecomment-325507898). | |||||
2017-02-25 | Markdown formatting removed. | Thomas Lange | 1 | -3/+3 | |
2017-02-25 | Old license file removed. | Thomas Lange | 1 | -9/+0 | |
2017-02-25 | Typo in filename removed. | Thomas Lange | 1 | -0/+9 | |
2017-02-10 | Bugfix: Execute commands with "eval" to prevent problems with combined commands. | Thomas Lange | 1 | -2/+2 | |
2017-01-26 | Spelling mistake fixed. | Thomas Lange | 1 | -1/+1 | |
2017-01-03 | Use the full variable name $option instead of the abbreviation $opt. | Thomas Lange | 1 | -2/+2 | |
2016-12-24 | Delete previously obtained certificates only if Certbot has successfully ↵ | Thomas Lange | 1 | -8/+16 | |
accomplished the challenge and new certificates exists. | |||||
2016-12-24 | Additional command-line options to customize the certificate target ↵ | Thomas Lange | 2 | -12/+28 | |
filenames were added. | |||||
2016-12-23 | Delete Certificate-Signing-Request (CSR) file which was created by mktemp on ↵ | Thomas Lange | 1 | -0/+5 | |
exit. | |||||
2016-12-23 | mktemp now creates the temporary CSR file by itself and with restricted UNIX ↵ | Thomas Lange | 1 | -1/+1 | |
file permissions. | |||||
2016-12-22 | Comment section now contains the option name instead the internal variable name. | Thomas Lange | 1 | -2/+2 | |
2016-12-22 | Parsing command-line arguments with the getopts shell builtin. | Thomas Lange | 2 | -9/+28 | |
2016-12-21 | Comment section restructured and updated. | Thomas Lange | 1 | -7/+6 | |
2016-12-21 | Added an forgotten modifier to the sed pattern. | Thomas Lange | 1 | -1/+1 | |
2016-12-20 | ARGUMENT_HOSTNAMES must now contain only a colon separated string with the ↵ | Thomas Lange | 2 | -3/+3 | |
hostnames. | |||||
2016-12-20 | Requirements section was added. | Thomas Lange | 1 | -0/+3 | |
2016-12-20 | Email address is only needed when creating an account on the ACME server. | Thomas Lange | 2 | -5/+4 | |
2016-12-19 | Added OPENSSLCONF variable which contains the path to the openssl.cnf file. | Thomas Lange | 1 | -1/+2 | |
2016-12-19 | Initial commit | Thomas Lange | 3 | -0/+122 | |