Changes

Jump to navigation Jump to search
1 byte added ,  11:51, 6 May 2009
m
Fixe a bug in the migration script
Line 142: Line 142:  
                 # This can happen in some situation where the serial has been corrupted
 
                 # This can happen in some situation where the serial has been corrupted
 
   
 
   
                 if [ $ISININDEX == 1 ]&&[ -s $CERT.key ]&&[ -s $CERT.csr ]; then
+
                 if [ $ISININDEX -gt 0 ]&&[ -s $CERT.key ]&&[ -s $CERT.csr ]; then
 
                         # Retrieve the serial number as reported by  openssl
 
                         # Retrieve the serial number as reported by  openssl
 
                         SERIAL=$(openssl x509 -noout -serial -in $CERT.crt | cut -d"=" -f 2)
 
                         SERIAL=$(openssl x509 -noout -serial -in $CERT.crt | cut -d"=" -f 2)

Navigation menu