Browse code

Fix SAN for refreshed certs

Bernd Wurst authored on 16/01/2019 15:15:18
Showing 1 changed files
... ...
@@ -241,7 +241,7 @@ function refresh_cert($id, $info, $cert, $key = null)
241 241
     $oldcert = cert_details($id);
242 242
     $args = array(":subject" => filter_input_general($info['subject']),
243 243
                 ":cn" => filter_input_general($info['cn']),
244
-                ":san" => $san,
244
+                ":san" => $info['san'],
245 245
                 ":cert" => $cert,
246 246
                 ":valid_from" => $info['valid_from'],
247 247
                 ":valid_until" => $info['valid_until'],