# -*- text -*-
##
##  Configuration for EAP types for various clients
##
# EAP-TLS
eap eap-tls {

    tls-config tls-common {
        private_key_password = ${tls_key_password}
        private_key_file = ${certdir}/server.key
        certificate_file = ${certdir}/server.crt
        # should send auto-chained self-signed eltex-ca crt and eltex-tls server crt
        auto_chain = yes

        $INCLUDE ../eap-tls-base.conf
    }

    tls {
        tls = tls-common
    }

    $INCLUDE ../eap-base.conf
}
