mirror of
				https://tildegit.org/ben/dotfiles.git
				synced 2025-08-10 05:02:03 +00:00 
			
		
		
		
	update wildcard-cert function
This commit is contained in:
		
							parent
							
								
									6744462d00
								
							
						
					
					
						commit
						b897d96f1c
					
				@ -1,10 +1,11 @@
 | 
			
		||||
function wildcard-cert
 | 
			
		||||
    sudo certbot certonly                                       \
 | 
			
		||||
        --dns-cloudflare                                           \
 | 
			
		||||
        --dns-cloudflare-credentials /root/.secrets/cloudflare.ini \
 | 
			
		||||
        --dns-rfc2136                                           \
 | 
			
		||||
        --dns-rfc2136-credentials /root/.secrets/rfc2136.ini    \
 | 
			
		||||
        --server https://acme-v02.api.letsencrypt.org/directory \
 | 
			
		||||
        --preferred-challenge dns-01                            \
 | 
			
		||||
        --cert-name $argv[1]                                    \
 | 
			
		||||
        -d $argv[1]                                             \
 | 
			
		||||
        -d \*.$argv[1]
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user