Skip to content
This repository has been archived by the owner on Jan 20, 2021. It is now read-only.

Latest commit

 

History

History
38 lines (32 loc) · 2.01 KB

README.md

File metadata and controls

38 lines (32 loc) · 2.01 KB

letsencrypt-directadmin

Installation

  • Clone this repository in the same directory using git clone https://github.com/sjerdo/letsencrypt-directadmin.git
  • Install by running python setup-directadmin.py develop

Installation for development

git clone https://github.com/letsencrypt/letsencrypt
cd letsencrypt
./bootstrap/install-deps.sh
./bootstrap/dev/venv.sh
  • Clone this repository in the same directory using git clone https://github.com/sjerdo/letsencrypt-directadmin.git tmp && mv tmp/.git .gittwo && rm -rf tmp && git --git-dir=.gittwo reset --hard .
  • Install by running ./venv/bin/python setup-directadmin.py develop

Run

You can run the client by executing the command letsencrypt --configurator letsencrypt-directadmin:directadmin --letsencrypt-directadmin:directadmin-server https://www.example.com:2222/ --letsencrypt-directadmin:directadmin-username USERNAME --letsencrypt-directadmin:directadmin-login-key LOGINKEY You can also use your DirectAdmin password instead of a Login Key, but this is not recommended.

Another example for running the plugin which includes the credentials in the server url: letsencrypt --configurator letsencrypt-directadin:directadmin --letsencrypt-directadmin:directadmin-server https://DAUSER:[email protected]:2222/

You can specify for which domain a certificate needs to be generated and installed by appending -d domain.com Eg: letsencrypt --configurator letsencrypt-directadin:directadmin --letsencrypt-directadmin:directadmin-server https://DAUSER:[email protected]:2222/ -d example.com -d www.example.com

TODO: Run with configuration file

DirectAdmin Login Keys

If you would like to use DirectAdmin Login Keys (which is recommended) instead of your password, the login key should be allowed to use the following commands:

  • CMD_API_LOGIN_TEST
  • CMD_API_SHOW_DOMAINS
  • CMD_API_DOMAIN_POINTER
  • CMD_API_SUBDOMAINS
  • CMD_API_FILE_MANAGER
  • CMD_API_SSL