summaryrefslogtreecommitdiff
path: root/cacert/www/api/ccsr.php
diff options
context:
space:
mode:
Diffstat (limited to 'cacert/www/api/ccsr.php')
-rw-r--r--cacert/www/api/ccsr.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/cacert/www/api/ccsr.php b/cacert/www/api/ccsr.php
index b2db656..e81c738 100644
--- a/cacert/www/api/ccsr.php
+++ b/cacert/www/api/ccsr.php
@@ -78,7 +78,7 @@
`subject`='$csrsubject', `codesign`='$codesign'";
mysql_query($query);
$certid = mysql_insert_id();
- $CSRname = "/www/csr/client-$certid.csr";
+ $CSRname = generatecertpath("csr","client",$certid);
rename($checkedcsr, $CSRname);
mysql_query("update `emailcerts` set `csr_name`='$CSRname' where `id`='$certid'");