devices/ms/Device_W8.php 1 location
|
@@ 142-148 (lines=7) @@
|
| 139 |
|
<eapTls:ServerValidation> |
| 140 |
|
<eapTls:DisableUserPromptForServerValidation>true</eapTls:DisableUserPromptForServerValidation> |
| 141 |
|
<eapTls:ServerNames>' . $servers . '</eapTls:ServerNames>'; |
| 142 |
|
if ($caArray) { |
| 143 |
|
foreach ($caArray as $certAuthority) { |
| 144 |
|
if ($certAuthority['root']) { |
| 145 |
|
$profileFileCont .= "<eapTls:TrustedRootCA>" . $certAuthority['sha1'] . "</eapTls:TrustedRootCA>\n"; |
| 146 |
|
} |
| 147 |
|
} |
| 148 |
|
} |
| 149 |
|
$profileFileCont .= '</eapTls:ServerValidation> |
| 150 |
|
'; |
| 151 |
|
if (isset($attr['eap-specific:tls_use_other_id']) && $attr['eap-specific:tls_use_other_id'][0] == 'on') { |
devices/ms/Device_Vista7.php 1 location
|
@@ 191-197 (lines=7) @@
|
| 188 |
|
<eapTls:ServerValidation> |
| 189 |
|
<eapTls:DisableUserPromptForServerValidation>true</eapTls:DisableUserPromptForServerValidation> |
| 190 |
|
<eapTls:ServerNames>' . $servers . '</eapTls:ServerNames>'; |
| 191 |
|
if ($caArray) { |
| 192 |
|
foreach ($caArray as $certAuthority) { |
| 193 |
|
if ($certAuthority['root']) { |
| 194 |
|
$profileFileCont .= "<eapTls:TrustedRootCA>" . $certAuthority['sha1'] . "</eapTls:TrustedRootCA>\n"; |
| 195 |
|
} |
| 196 |
|
} |
| 197 |
|
} |
| 198 |
|
$profileFileCont .= '</eapTls:ServerValidation> |
| 199 |
|
'; |
| 200 |
|
if (isset($attr['eap-specific:tls_use_other_id']) && $attr['eap-specific:tls_use_other_id'][0] == 'on') { |
devices/ms/Device_W10.php 1 location
|
@@ 160-166 (lines=7) @@
|
| 157 |
|
<eapTls:ServerValidation> |
| 158 |
|
<eapTls:DisableUserPromptForServerValidation>true</eapTls:DisableUserPromptForServerValidation> |
| 159 |
|
<eapTls:ServerNames>' . $servers . '</eapTls:ServerNames>'; |
| 160 |
|
if ($caArray) { |
| 161 |
|
foreach ($caArray as $certAuthority) { |
| 162 |
|
if ($certAuthority['root']) { |
| 163 |
|
$profileFileCont .= "<eapTls:TrustedRootCA>" . $certAuthority['sha1'] . "</eapTls:TrustedRootCA>\n"; |
| 164 |
|
} |
| 165 |
|
} |
| 166 |
|
} |
| 167 |
|
$profileFileCont .= '</eapTls:ServerValidation> |
| 168 |
|
'; |
| 169 |
|
if (isset($attr['eap-specific:tls_use_other_id']) && $attr['eap-specific:tls_use_other_id'][0] == 'on') { |