summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorMatt Smith <mgsmith@netgate.com>2015-10-16 08:54:10 -0500
committerMatt Smith <mgsmith@netgate.com>2015-10-16 08:54:10 -0500
commitc9c31047004c4ac3e584a434917c4ae1be7cbe40 (patch)
tree318aa4709bf3f988947dc83b95fadd08ab4cbac0 /etc
parentc345288bf1ca821919c2af3b4381602f197cb4fa (diff)
downloadpfsense-c9c31047004c4ac3e584a434917c4ae1be7cbe40.zip
pfsense-c9c31047004c4ac3e584a434917c4ae1be7cbe40.tar.gz
Add 'caref' attribute to the ca object passed into ca_inter_create so a
relationship to the signing CA can be maintained. Fixes #5313.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/certs.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/certs.inc b/etc/inc/certs.inc
index 27916fb..03b8abd 100644
--- a/etc/inc/certs.inc
+++ b/etc/inc/certs.inc
@@ -247,6 +247,7 @@ function ca_inter_create(& $ca, $keylen, $lifetime, $dn, $caref, $digest_alg = "
$ca['crt'] = base64_encode($str_crt);
$ca['prv'] = base64_encode($str_key);
$ca['serial'] = 0;
+ $ca['caref'] = $caref;
return true;
}
OpenPOWER on IntegriCloud