Secure Wi-Fi Enterprise configuration
Stay organized with collections
Save and categorize content based on your preferences.
On Android 11 QPR1 and higher, the system mandates strict security
configurations for TLS-based Wi-Fi Enterprise configurations (like PEAP, TLS,
or TTLS). When adding a new Enterprise configuration using the methods
specified in the Wi-Fi infrastructure overview or using
addNetwork
, the caller must configure both a
Root CA certificate, and either a domain suffix match or an alternate subject
match. If the new configuration isn't set up properly, the system rejects it
and it's not added or saved.
This security requirement uses the Root CA provided by the app to
cryptographically validate the authentication server's certificate and domain
name. This ensures that the user is connected to a trusted network.
An app that needs to create a secure Enterprise configuration must call either
setCaCertificate
or setCaCertificates
.
This sets a Root CA certificate or a
list of Root CA certificates. The app must then call either
setAltSubjectMatch
or
setDomainSuffixMatch
to set an alternate subject or a domain name suffix.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2023-06-28 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2023-06-28 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-06-28 UTC."]]