add csr.json
This commit is contained in:
		
							parent
							
								
									96cea785f8
								
							
						
					
					
						commit
						89312ca93b
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		
							
								
								
									
										6
									
								
								templates/csr.json.j2
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								templates/csr.json.j2
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,6 @@
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					    "CN": {{item.cname | to_json}},
 | 
				
			||||||
 | 
					    "hosts": {{ (item.sans|default([]) + item.altips|default([]) + item.cname.split(',')) | to_json}},
 | 
				
			||||||
 | 
					    "key" : {{item.key | default(pki_key) | to_json}},
 | 
				
			||||||
 | 
					    "names" : {{item.names | default(pki_names) | to_json}}
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue