Terminus commands to interact with ACME challenges. Temporary. Will be rolled into Terminus core.
These commands require no configuration
terminus alpha:https:challenge:dns-txt <site>.<env> example.com
[notice] Create a DNS txt record containing:
_acme-CHALLENGE_TEXT.example.com. 300 IN TXT "CHALLENGE_TEXT"
terminus alpha:https:challenge:file <site>.<env>
You must be a member of the site's team to create challenges.
To install this plugin place it in ~/.terminus/plugins/
.
On Mac OS/Linux:
mkdir -p ~/.terminus/plugins
curl https://github.com/pantheon-systems/terminus-acme-plugin/archive/1.x.tar.gz -L | tar -C ~/.terminus/plugins -xvz
This example project includes four testing targets:
composer lint
: Syntax-check all php source files.composer cs
: Code-style check.composer unit
: Run unit tests with phpunitcomposer functional
: Run functional test with bats
To run all tests together, use composer test
.
Note that prior to running the tests, you should first run:
composer install
composer install-tools
Run terminus help https:challenge:dns-txt
for help.