taskserver
Can try scipts/setup_server.bash
script.
There are a few resources on using letsencrypt, but I don’t completely understand what the improvement is precisely. Maybe I’ll read more about certificates and chains at some point.
git clone https://github.com/GothenburgBitFactory/taskserver.git
cd taskserver
git checkout master
cmake -DCMAKE_INSTALL_PREFIX=~/opt .
make
make install
vim pki/vars
# update CN to your domain name
./scripts/setup_server.bash
# /home/ubuntu/var/taskd
# 0.0.0.0
taskdctl start/stop
vim ~/var/taskd/config
Taskwarrior Configuration details for FirstName LastName.
FirstName LastName must copy these files to ~/.task
/home/ubuntu/taskserver/pki/ca.cert.pem
/home/ubuntu/taskserver/pki/FirstName_LastName.cert.pem
/home/ubuntu/taskserver/pki/FirstName_LastName.key.pem
FirstName LastName must run these commands:
task config taskd.server 0.0.0.0:53589
task config taskd.credentials Public/FirstName LastName/7ae7be0b-1473-4846-9bc8-94a7b19d4fcb
task config taskd.certificate ~/.task/FirstName_LastName.cert.pem
task config taskd.key ~/.task/FirstName_LastName.key.pem
task config taskd.ca ~/.task/ca.cert.pem
task config taskd.trust strict
task config taskd.ciphers NORMAL
/home/ubuntu/taskserver/pki/ca.cert.pem
/home/ubuntu/taskserver/pki/FirstName_LastName.cert.pem
/home/ubuntu/taskserver/pki/FirstName_LastName.key.pem
task config taskd.server 0.0.0.0:53589
task config taskd.credentials Public/FirstName LastName/7ae7be0b-1473-4846-9bc8-94a7b19d4fcb
task config taskd.certificate ~/.task/FirstName_LastName.cert.pem
task config taskd.key ~/.task/FirstName_LastName.key.pem
task config taskd.ca ~/.task/ca.cert.pem
task config taskd.trust strict
task config taskd.ciphers NORMAL
troubleshooting:
- https://taskwarrior.org/docs/
- https://taskwarrior.org/docs/taskserver/troubleshooting-sync.html
- https://taskwarrior.org/support/faq.html
- https://taskwarrior.org/support/faq.html#q12
- http://mrwonko.de/blog/2017/using-letsencrypt-certificates-with-a-taskwarrior-server.html
- https://letsencrypt.org/certificates/
- clone taskserver
- change CN line to domain name
- mkdir ~/var if that is where your data directory will be
- may want
EXPORT TASKDDATA...
in~/.bashrc
. - run script
- specify 0.0.0.0 as server
- make sure port is open
take a look at letsencrypt instructions