diff options
author | Matt Smith <mgsmith@netgate.com> | 2015-10-16 08:54:10 -0500 |
---|---|---|
committer | Matt Smith <mgsmith@netgate.com> | 2015-10-16 08:54:10 -0500 |
commit | c9c31047004c4ac3e584a434917c4ae1be7cbe40 (patch) | |
tree | 318aa4709bf3f988947dc83b95fadd08ab4cbac0 | |
parent | c345288bf1ca821919c2af3b4381602f197cb4fa (diff) | |
download | pfsense-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.
-rw-r--r-- | etc/inc/certs.inc | 1 |
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; } |