mirror of
				https://github.com/hiskang/acme.sh
				synced 2025-10-31 18:37:30 +00:00 
			
		
		
		
	Added instructions on how to get the Linode API key.
This commit is contained in:
		
							parent
							
								
									59182dbc97
								
							
						
					
					
						commit
						dd17ac5045
					
				| @ -259,23 +259,25 @@ when needed. | |||||||
| 
 | 
 | ||||||
| ## 14. Use Linode domain API | ## 14. Use Linode domain API | ||||||
| 
 | 
 | ||||||
| You will need to install the Linode CLI and set it up accordingly. | First you need to login to your Linode account to get your API Key. | ||||||
|  | [https://manager.linode.com/profile/api](https://manager.linode.com/profile/api) | ||||||
| 
 | 
 | ||||||
| [https://www.linode.com/docs/platform/linode-cli](https://www.linode.com/docs/platform/linode-cli) | Then add an API key with label *ACME* and copy the new key. | ||||||
| 
 | 
 | ||||||
| Follow the installation instructions appropriate for your platform and then run the configuration. | ```sh | ||||||
| 
 | export LINODE_API_KEY="..." | ||||||
| ```linode configure |  | ||||||
| ``` | ``` | ||||||
| 
 | 
 | ||||||
| Make sure Linode CLI is working correctly before proceeding. |  | ||||||
| 
 |  | ||||||
| Due to the reload time of any changes in the DNS records, we have to use the `dnssleep` option to wait at least 15 minutes for the changes to take effect. | Due to the reload time of any changes in the DNS records, we have to use the `dnssleep` option to wait at least 15 minutes for the changes to take effect. | ||||||
| 
 | 
 | ||||||
|  | Ok, let's issue a cert now: | ||||||
|  | 
 | ||||||
| ```sh | ```sh | ||||||
| acme.sh --issue --dns dns_linode --dnssleep 900 -d example.com -d www.example.com | acme.sh --issue --dns dns_linode --dnssleep 900 -d example.com -d www.example.com | ||||||
| ``` | ``` | ||||||
| 
 | 
 | ||||||
|  | The `LINODE_API_KEY` will be saved in `~/.acme.sh/account.conf` and will be reused when needed. | ||||||
|  | 
 | ||||||
| # Use custom API | # Use custom API | ||||||
| 
 | 
 | ||||||
| If your API is not supported yet, you can write your own DNS API. | If your API is not supported yet, you can write your own DNS API. | ||||||
|  | |||||||
| @ -1,12 +1,7 @@ | |||||||
| #!/usr/bin/env bash | #!/usr/bin/env sh | ||||||
| 
 | 
 | ||||||
| #Author: Philipp Grosswiler <philipp.grosswiler@swiss-design.net> | #Author: Philipp Grosswiler <philipp.grosswiler@swiss-design.net> | ||||||
| 
 | 
 | ||||||
| #How to create the Linode API key: |  | ||||||
| #Sign into your Linode account and go to this page: https://manager.linode.com/profile/api |  | ||||||
| #Then add an API key with label ACME and copy the new key. |  | ||||||
| #export LINODE_API_KEY="..." |  | ||||||
| 
 |  | ||||||
| LINODE_API_URL="https://api.linode.com/?api_key=$LINODE_API_KEY&api_action=" | LINODE_API_URL="https://api.linode.com/?api_key=$LINODE_API_KEY&api_action=" | ||||||
| 
 | 
 | ||||||
| ########  Public functions ##################### | ########  Public functions ##################### | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user