]> git.proxmox.com Git - mirror_acme.sh.git/commitdiff
cpanel_uapi
authorSanteri <info@2globalnomads.info>
Sun, 3 Sep 2017 09:35:20 +0000 (13:35 +0400)
committerGitHub <noreply@github.com>
Sun, 3 Sep 2017 09:35:20 +0000 (13:35 +0400)
tried to make it a bit less confusing

deploy/README.md

index e026cadf292236bd6c43a1ea0217cc5e10af254e..62a3fb6fb86d392ec258434724e46a8aa65d2375 100644 (file)
@@ -6,6 +6,8 @@ Here are the scripts to deploy the certs/key to the server/services.
 
 ## 1. Deploy the certs to your cpanel host.
 
+If you want to deploy using cpanel UAPI see 7.
+
 (cpanel deploy hook is not finished yet, this is just an example.)
 
 
@@ -81,14 +83,13 @@ acme.sh --deploy -d ftp.example.com --deploy-hook exim4
 acme.sh --deploy -d ftp.example.com --deploy-hook keychain
 ```
 
-## 7. Deploy to cpanel host.
+## 7. Deploy to cpanel host using UAPI
 
+This hook is using UAPI and works in cPanel & WHM version 56 or newer.
 ```
 acme.sh  --deploy  -d example.com  --deploy-hook cpanel_uapi
 ```
-
-If you are login as root, please specify the username to deploy cert to:
-
+DEPLOY_CPANEL_USER is required only if you run the script as root and it should contain cpanel username.
 ```sh
 export DEPLOY_CPANEL_USER=username
 acme.sh  --deploy  -d example.com  --deploy-hook cpanel_uapi