Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
technical:pp-windows [2025/07/23 08:09] – created system | technical:pp-windows [2025/07/23 09:31] (current) – [Obtaining the SHA-1 Thumbprint] system | ||
---|---|---|---|
Line 20: | Line 20: | ||
===== Windows Example ===== | ===== Windows Example ===== | ||
+ | |||
+ | <file xml wenley-peap.xml> | ||
+ | <?xml version=" | ||
+ | < | ||
+ | xmlns=" | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | <MSM> | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | <OneX xmlns=" | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | <Type xmlns=" | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | <Config xmlns=" | ||
+ | <EapTtls xmlns=" | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | <Type xmlns=" | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | <Config xmlns=" | ||
+ | <Eap xmlns=" | ||
+ | < | ||
+ | <EapType xmlns=" | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | <EapTtls xmlns=" | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | xmlns: | ||
+ | xmlns: | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | ------ | ||
+ | |||
+ | ==== Certificate handling ==== | ||
+ | * Microsoft handles certificates in a more complicated way. | ||
+ | * You have to install the CA and then reference the **SHA-1 Thumbprint** of the CA inside the XML file. | ||
+ | |||
+ | ------ | ||
+ | |||
+ | ==== Obtaining the SHA-1 Thumbprint | ||
+ | * To obtain the SHA-1 thumbprint of the CA you can use the following command (assuming the CA file is called ca.pem) | ||
+ | <code bash> | ||
+ | openssl x509 -in ca.pem -noout -fingerprint -sha1 | ||
+ | #Outputs the following: | ||
+ | SHA1 Fingerprint=D1: | ||
+ | #Then remove the colons and use it uppercase (40 Characters): | ||
+ | D1EB23A46D17D68FD92564C2F1F1601764D8E349 | ||
+ | </ | ||
+ | |||
+ | ---------- | ||
+ | |||
+ | ==== PEAP vs EAP/TTLS/ ==== | ||
+ | |||
+ | * You will notice that we use PEAP instead of EAP/TTLS for authentication. | ||
+ | * It is recommended that you use PEAP on Windows since support for EAP/ | ||
+ | |||
+ | |||
+ | ------- | ||
+ | |||
+ | ==== Installing the certificate and profile ==== | ||
+ | * Install the CA on Windows using the **certutil** from the command line: | ||
+ | <code bash> | ||
+ | certutil -addstore root ca.pem | ||
+ | </ | ||
+ | * Install the profile also from the command line: | ||
+ | <code bash> | ||
+ | netsh wlan add profile filename=" | ||
+ | </ | ||
+ | * Check the available networks with: | ||
+ | <code bash> | ||
+ | netsh wlan show networks | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||