<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hello,<div><br></div><div>I am trying to setup hostapd to act as a RADIUS server, and setup TLS based EAP authentication (EAP-TLS). I have the following configuration to do so:</div><div><br></div><div><div>eap_server=1</div><div>eap_user_file=/etc/hostapd.eap_user</div></div><div><br></div><div><div>ca_cert=/etc/certs/cacert.pem</div><div>server_cert=/etc/certs/newcert.pem</div><div>private_key=/etc/certs/newkey.pem</div><div>private_key_passwd=password</div></div><div><br></div><div><div>radius_server_clients=/etc/hostapd.radius_clients</div><div>radius_server_auth_port=1812</div></div><div><br></div><div><div>auth_server_addr=127.0.0.1</div><div>auth_server_port=1812</div><div>auth_server_shared_secret=password</div></div><div><br></div><div><br></div><div>The setup seems to be applied fine. However, I am not sure about what exactly do I need to have on the hostapd.eap_user file, how I can specify TLS to be used to authenticate all users? any help or suggestions will be appreciated. Thanks.</div><div><br></div>                                               </div></body>
</html>