add script to link CA certificates and CRLs
This commit is contained in:
		
							parent
							
								
									fe0e526dd3
								
							
						
					
					
						commit
						1369f5192c
					
				
					 2 changed files with 14 additions and 0 deletions
				
			
		
							
								
								
									
										1
									
								
								README
									
										
									
									
									
								
							
							
						
						
									
										1
									
								
								README
									
										
									
									
									
								
							| 
						 | 
					@ -7,4 +7,5 @@ Configuration files:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Scripts:
 | 
					Scripts:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- cacrllink.sh   - Script to link CA certificates and CRLs to hashed names
 | 
				
			||||||
- createca.sh    - Script for creating a CA
 | 
					- createca.sh    - Script for creating a CA
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										13
									
								
								cacrllink.sh
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								cacrllink.sh
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,13 @@
 | 
				
			||||||
 | 
					#!/bin/sh
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
					# script for creating links to certificates and CRLs in the current directory
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					for cert in *.crt.pem
 | 
				
			||||||
 | 
					do
 | 
				
			||||||
 | 
					    ln -s "${cert}" `openssl x509 -in "${cert}" -noout -hash`.0
 | 
				
			||||||
 | 
					done
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					for crl in *.crl.pem
 | 
				
			||||||
 | 
					do
 | 
				
			||||||
 | 
					    ln -s "${crl}" `openssl crl -in "${crl}" -noout -hash`.r0
 | 
				
			||||||
 | 
					done
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue