mirror of
				https://github.com/hiskang/acme.sh
				synced 2025-10-31 02:17:18 +00:00 
			
		
		
		
	
						commit
						7790208126
					
				| @ -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. | ## 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.) | (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 | 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 | acme.sh  --deploy  -d example.com  --deploy-hook cpanel_uapi | ||||||
| ``` | ``` | ||||||
| 
 | DEPLOY_CPANEL_USER is required only if you run the script as root and it should contain cpanel username. | ||||||
| If you are login as root, please specify the username to deploy cert to: |  | ||||||
| 
 |  | ||||||
| ```sh | ```sh | ||||||
| export DEPLOY_CPANEL_USER=username | export DEPLOY_CPANEL_USER=username | ||||||
| acme.sh  --deploy  -d example.com  --deploy-hook cpanel_uapi | acme.sh  --deploy  -d example.com  --deploy-hook cpanel_uapi | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user