Revision 26308930
Added by Marcos M about 1 year ago
src/etc/inc/auth.inc | ||
---|---|---|
1119 | 1119 |
ldap_set_option($ldap, LDAP_OPT_X_TLS_REQUIRE_CERT, LDAP_OPT_X_TLS_HARD); |
1120 | 1120 |
} else { |
1121 | 1121 |
$caref = lookup_ca($authcfg['ldap_caref']); |
1122 |
$caref = $caref['item']; |
|
1122 | 1123 |
$cert_details = openssl_x509_parse(base64_decode($caref['crt'])); |
1123 | 1124 |
$param = array('caref' => $authcfg['ldap_caref']); |
1124 | 1125 |
$cachain = ca_chain($param); |
Also available in: Unified diff
Use config accessors in certificate functions