Commit 7b4142cf authored by Stephan Uhlmann's avatar Stephan Uhlmann
Browse files

rename to bacme

parent cda702a0
Pipeline #114310067 passed with stages
in 1 minute and 30 seconds
......@@ -11,7 +11,7 @@ codequality:
- tar xvJf shellcheck-stable.linux.x86_64.tar.xz
- cp shellcheck-stable/shellcheck /usr/local/bin
script:
- shellcheck lecert
- shellcheck bacme
- shellcheck test/test.sh
tests:
......@@ -26,10 +26,10 @@ pack-snapshot:
stage: package
image: alpine:latest
script:
- tar cvf lecert-snapshot.tar lecert openssl.conf README.md CHANGELOG.md EXAMPLES.md LICENSE.txt
- gzip lecert-snapshot.tar
- tar cvf bacme-snapshot.tar bacme openssl.conf README.md CHANGELOG.md EXAMPLES.md LICENSE.txt
- gzip bacme-snapshot.tar
artifacts:
paths: [lecert-snapshot.tar.gz]
paths: [bacme-snapshot.tar.gz]
expire_in: 30 days
except:
- tags
......@@ -38,10 +38,10 @@ pack-release:
stage: package
image: alpine:latest
script:
- tar cvf lecert-$CI_COMMIT_TAG.tar lecert openssl.conf README.md CHANGELOG.md EXAMPLES.md LICENSE.txt
- gzip lecert-$CI_COMMIT_TAG.tar
- tar cvf bacme-$CI_COMMIT_TAG.tar bacme openssl.conf README.md CHANGELOG.md EXAMPLES.md LICENSE.txt
- gzip bacme-$CI_COMMIT_TAG.tar
artifacts:
paths: [lecert-$CI_COMMIT_TAG.tar.gz]
paths: [bacme-$CI_COMMIT_TAG.tar.gz]
only:
- tags
# ChangeLog
## [1.1.0] 2020-02-02
### Changed
- renamed from _lecert_ to _bacme_ to avoid Let's Encrypt trademark issues
## [1.0.0] 2020-01-04
### Changed
- migrated to ACMEv2 API (RFC 8555)
......
......@@ -3,7 +3,7 @@ Execution with automatic copying of challenges to webroot
---------------------------------------------------------
```
> ./lecert -w www@server:/var/www/example/ "example.com" "www.example.com"
> ./bacme -w www@server:/var/www/example/ "example.com" "www.example.com"
#### Creating domain subdirectory ...
#### Done. example.com/ created.
#### Getting URL of current subscriber agreement ...
......@@ -54,7 +54,7 @@ Execution with manual copying of challenges to webroot
------------------------------------------------------
```
> ./lecert example.com www.example.com
> ./bacme example.com www.example.com
#### Creating domain subdirectory ...
#### Done. example.com/ created.
#### Getting URL of current subscriber agreement ...
......
lecert
======
bacme
=====
Documentation
-------------
......@@ -40,7 +40,7 @@ Usage
-----
```
Usage: lecert [options...] <domain> [ <domain> ... ]
Usage: bacme [options...] <domain> [ <domain> ... ]
Options:
-e, --email EMAIL Your email if you want that Let's Encrypt can contact you
-h, --help This help
......@@ -51,19 +51,13 @@ Options:
The first domain parameter should be your main domain name with the subdomains following after it.
Example: ./lecert -e me@example.com -w www@server:/var/www/example/ example.com www.example.com
Example: ./bacme -e me@example.com -w www@server:/var/www/example/ example.com www.example.com
```
See EXAMPLES.md for sample executions and their output.
Known issues
------------
- Requires bash
Useful links
------------
......
......@@ -3,7 +3,7 @@
##############################################################################
#
#
# lecert
# bacme
#
# Keep it simple shell script for requesting a certificate from the Let's
# Encrypt CA using the ACME protocol.
......@@ -28,7 +28,7 @@ usage()
{
cat << EOF
Usage: lecert [options...] <domain> [ <domain> ... ]
Usage: bacme [options...] <domain> [ <domain> ... ]
Options:
-e, --email EMAIL Your email if you want that Let's Encrypt can contact you
-h, --help This help
......
......@@ -26,9 +26,9 @@ runtest()
}
runtest "lecert noparamcheck" "../lecert 2>&1" "[ \$RET -eq 1 ] && ( echo \"\$OUTPUT\" | grep \"ERROR: Missing parameter\" >/dev/null )"
runtest "bacme noparamcheck" "../bacme 2>&1" "[ \$RET -eq 1 ] && ( echo \"\$OUTPUT\" | grep \"ERROR: Missing parameter\" >/dev/null )"
runtest "lecert testrun" "../lecert -v -t doesnotexist.example.com 2>&1 <<< \"\\n\"" "[ \$RET -eq 1 ] && ( echo \"\$OUTPUT\" | grep \"urn:ietf:params:acme:error:orderNotReady\" >/dev/null )"
runtest "bacme testrun" "../bacme -v -t doesnotexist.example.com 2>&1 <<< \"\\n\"" "[ \$RET -eq 1 ] && ( echo \"\$OUTPUT\" | grep \"urn:ietf:params:acme:error:orderNotReady\" >/dev/null )"
rm -rf doesnotexist.example.com
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment