Revision 26308930
Added by Marcos M about 1 year ago
src/etc/inc/captiveportal.inc | ||
---|---|---|
448 | 448 |
|
449 | 449 |
if (isset($cpcfg['httpslogin'])) { |
450 | 450 |
$cert = lookup_cert($cpcfg['certref']); |
451 |
$cert = $cert['item']; |
|
451 | 452 |
$crt = base64_decode($cert['crt']); |
452 | 453 |
$key = base64_decode($cert['prv']); |
453 | 454 |
$ca = ca_chain($cert); |
Also available in: Unified diff
Use config accessors in certificate functions