FreeRadius Wifi
Jump to navigation
Jump to search
PEAP MSCHAPv2
FreeRadius
apt-get install freeradius
clients.conf (add)
client 192.168.38.1 { secret = "very" }
eap.conf (aanpassen)
eap { default_eap_type = peap }
Aanpassen certificaat: Wifi PEAP
./mkwificert.sh cp server.key.unsecure /etc/freeradius/certs/server.key cp server_cert.pem /etc/freeradius/certs/server.pem cp demoCA/cacert.pem /etc/freeradius/certs/ca.pem
mkwificert.sh
openssl genrsa -des3 -out server.key 1024 openssl rsa -in server.key -out server.key.unsecure openssl req -new -key server.key -out server.csr cp server.csr newreq.pem openssl ca -config /etc/ssl/openssl.cnf -policy policy_anything \ -out server_cert.pem -extensions xpserver_ext \ -extfile /etc/ssl/xpextensions -infiles newreq.pem
/etc/freeradius/users (add)
test Cleartext-Password := "testt"