Changes

From SME Server
Jump to navigationJump to search
no edit summary
Line 31: Line 31:  
  print CONFIG "HOME = .\nRANDFILE = \$ENV::HOME/.rnd\n\n";
 
  print CONFIG "HOME = .\nRANDFILE = \$ENV::HOME/.rnd\n\n";
 
  print CONFIG "[ req ]\ndefault_bits = 1024\ndistinguished_name = req_distinguished_name\n";
 
  print CONFIG "[ req ]\ndefault_bits = 1024\ndistinguished_name = req_distinguished_name\n";
 +
# if you need a SHA1 csr, uncomment the following row
 +
#print CONFIG "default_md  = sha1\n";
 
  print CONFIG "req_extensions = v3_req\nprompt = no\n\n";
 
  print CONFIG "req_extensions = v3_req\nprompt = no\n\n";
 
  print CONFIG "[ req_distinguished_name ]\nCN = $domains[0]\n\n";
 
  print CONFIG "[ req_distinguished_name ]\nCN = $domains[0]\n\n";
Line 83: Line 85:  
  close(SSL) or die "Closing openssl pipe reported: $!";
 
  close(SSL) or die "Closing openssl pipe reported: $!";
 
  close(CSR) or die "Closing csr file reported: $!";
 
  close(CSR) or die "Closing csr file reported: $!";
 +
     
67

edits

Navigation menu