FreeRadius Wifi

From Frotmail Projects
Revision as of 09:13, 5 April 2022 by Eric (talk | contribs) (Created page with "Category:Networking Category:Linux 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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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"