hanno

hanno commited on 2010-02-01 20:32:12
Zeige 1 geänderte Dateien mit 2 Einfügungen und 2 Löschungen.


git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@1644 87cf0b9e-d624-0410-a070-f6ee81989793
... ...
@@ -191,7 +191,7 @@ commonName_default = *.{$cn}
191 191
   fclose($c);
192 192
 
193 193
   $output = '';
194
-  $cmdline = "openssl req -new -batch -config {$config} -out {$csrfile}";
194
+  $cmdline = "openssl req -sha256 -new -batch -config {$config} -out {$csrfile}";
195 195
   $retval = 0;
196 196
   exec($cmdline, $output, $retval);
197 197
   DEBUG($output);
... ...
@@ -249,7 +249,7 @@ commonName_default = {$cn}
249 249
   fclose($c);
250 250
 
251 251
   $output = '';
252
-  $cmdline = "openssl req -new -batch -config {$config} -out {$csrfile}";
252
+  $cmdline = "openssl req -sha256 -new -batch -config {$config} -out {$csrfile}";
253 253
   $retval = 0;
254 254
   exec($cmdline, $output, $retval);
255 255
   DEBUG($output);
256 256