diff options
author | Matt Smith <mgsmith@netgate.com> | 2015-10-16 09:05:45 -0500 |
---|---|---|
committer | Matt Smith <mgsmith@netgate.com> | 2015-10-16 09:05:45 -0500 |
commit | dd76084d44b8bc936ff731350afff2d313a627f5 (patch) | |
tree | b94848fba0f6e400c918d02643de7c5075499c96 /src/etc | |
parent | d7af098fb250bfa7b200c1d2dae893caaa653d45 (diff) | |
download | pfsense-dd76084d44b8bc936ff731350afff2d313a627f5.zip pfsense-dd76084d44b8bc936ff731350afff2d313a627f5.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 'src/etc')
-rw-r--r-- | src/etc/inc/certs.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/etc/inc/certs.inc b/src/etc/inc/certs.inc index 9c99952..2919cb8 100644 --- a/src/etc/inc/certs.inc +++ b/src/etc/inc/certs.inc @@ -284,6 +284,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; } |