Add cert to authentik
This commit is contained in:
		
							parent
							
								
									8ad3a4a041
								
							
						
					
					
						commit
						6f77230c15
					
				
					 5 changed files with 20 additions and 0 deletions
				
			
		
							
								
								
									
										12
									
								
								roles/lego/files/node002/auth.serguzim.me
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										12
									
								
								roles/lego/files/node002/auth.serguzim.me
									
										
									
									
									
										Executable file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,12 @@
 | 
			
		|||
#!/usr/bin/env sh
 | 
			
		||||
 | 
			
		||||
domain="auth.serguzim.me"
 | 
			
		||||
 | 
			
		||||
_install() {
 | 
			
		||||
  install --owner=root --group=root --mode=600 \
 | 
			
		||||
	  "$CERTIFICATES_PATH/$domain.$1" \
 | 
			
		||||
	  "/opt/services/authentik/certs/$domain.$2"
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
_install crt pem
 | 
			
		||||
_install key key
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue