mirror of
				https://github.com/hiskang/acme.sh
				synced 2025-10-31 02:17:18 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			31 lines
		
	
	
		
			772 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			772 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| # Using deploy api
 | |
| 
 | |
| Here are the scripts to deploy the certs/key to the server/services.
 | |
| 
 | |
| ## 1. Deploy the certs to your cpanel host.
 | |
| 
 | |
| (cpanel deploy hook is not finished yet, this is just an example.)
 | |
| 
 | |
| Before you can deploy your cert, you must [issue the cert first](https://github.com/Neilpang/acme.sh/wiki/How-to-issue-a-cert).
 | |
| 
 | |
| Then you can deploy now:
 | |
| 
 | |
| ```sh
 | |
| export DEPLOY_CPANEL_USER=myusername
 | |
| export DEPLOY_CPANEL_PASSWORD=PASSWORD
 | |
| acme.sh --deploy -d example.com --deploy --deploy-hook cpanel
 | |
| ```
 | |
| 
 | |
| ## 2. Deploy ssl cert on kong proxy engine based on api.
 | |
| 
 | |
| Before you can deploy your cert, you must [issue the cert first](https://github.com/Neilpang/acme.sh/wiki/How-to-issue-a-cert).
 | |
| 
 | |
| (TODO)
 | |
| 
 | |
| ## 3. Deploy the cert to remote server through SSH access.
 | |
| 
 | |
| (TODO)
 | |
| 
 | |
| 
 | |
| 
 |