[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ilsi:
Hi

I have tried to connect to WLAN with WPA2-Enterprise (TLS) security and it doesn't work. Here are log lines:

03-11 10:50:20.152 D/WifiService(4824): setWifiEnabled: true pid=9217, uid=1000, package=com.android.settings
03-11 10:50:20.157 I/chatty (4824): uid=1000(system) WifiStateMachin expire 58 lines
03-11 10:50:20.164 I/android.hardware.wifi@1.0-service(491): Wifi HAL started
03-11 10:50:20.282 I/wpa_supplicant(19856): Processing hidl events on FD 3
03-11 10:50:20.286 I/wpa_supplicant(19856): Successfully initialized wpa_supplicant
03-11 10:50:20.405 I/WifiHAL (491): Initializing wifi
03-11 10:50:20.406 I/WifiHAL (491): Creating socket
03-11 10:50:20.410 I/WifiHAL (491): Initialized Wifi HAL Successfully; vendor cmd = 103
03-11 10:50:20.514 I/wpa_supplicant(19856): rfkill: Cannot open RFKILL control device
03-11 10:50:20.586 D/WifiHAL (491): Sending mac address OUI
03-11 10:50:20.586 E/WifiHAL (491): failed to set scanning mac OUI; result = -95
03-11 10:50:20.588 E/wpa_supplicant(19856): wpa_driver_nl80211_driver_cmd: failed to issue private command: COUNTRY DE
03-11 10:50:20.591 E/WifiHAL (491): Failed to register debug response; result = -95
03-11 10:50:20.595 E/WifiHAL (491): Failed to register debug response; result = -95
03-11 10:50:20.598 E/WifiHAL (491): Failed to register debug response; result = -95
03-11 10:50:20.600 D/WifiHAL (491): Start get packet fate command
03-11 10:50:20.601 D/WifiHAL (491): createRequest Monitor packet fate request
03-11 10:50:20.601 E/WifiHAL (491): Failed to register get pkt fate response; result = -95
03-11 10:50:20.604 E/wpa_supplicant(19856): wpa_driver_nl80211_driver_cmd: failed to issue private command: BTCOEXSCAN-STOP
03-11 10:50:20.606 E/wpa_supplicant(19856): wpa_driver_nl80211_driver_cmd: failed to issue private command: RXFILTER-STOP
03-11 10:50:20.608 E/wpa_supplicant(19856): wpa_driver_nl80211_driver_cmd: failed to issue private command: RXFILTER-STOP
03-11 10:50:20.610 E/wpa_supplicant(19856): wpa_driver_nl80211_driver_cmd: failed to issue private command: SETSUSPENDMODE 0
03-11 10:50:20.610 I/wpa_supplicant(19856): wlan0: CTRL-EVENT-DRIVER-STATE HANGED
03-11 10:50:20.614 E/WifiP2pService(4824): Unhandled message { when=0 what=131203 target=com.android.internal.util.StateMachine$SmHandler }
03-11 10:50:20.630 E/WifiP2pService(4824): Unhandled message { when=-1ms what=131203 target=com.android.internal.util.StateMachine$SmHandler }
03-11 10:50:23.820 I/wpa_supplicant(19856): wlan0: Trying to associate with SSID 'XXX_CENSORED_XXX'
03-11 10:50:24.047 I/wpa_supplicant(19856): wlan0: Associated with 00:11:22:33:44:55
03-11 10:50:24.048 I/wpa_supplicant(19856): wlan0: CTRL-EVENT-EAP-STARTED EAP authentication started
03-11 10:50:24.049 I/wpa_supplicant(19856): wlan0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
03-11 10:50:24.052 I/wpa_supplicant(19856): wlan0: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=13
03-11 10:50:24.078 I/wpa_supplicant(19856): TLS - SSL error: error:0900006e:PEM routines:eek:PENSSL_internal:NO_START_LINE
03-11 10:50:24.078 I/wpa_supplicant(19856): wlan0: CTRL-EVENT-EAP-METHOD EAP vendor 0 method 13 (TLS) selected
03-11 10:50:24.146 I/wpa_supplicant(19856): wlan0: CTRL-EVENT-EAP-PEER-CERT depth=2 subject='/O=XXX_CENSORED_XXX/CN=XXX_CENSORED_XXX_Certificate Authority' hash=0c48661_XXX_CENSORED_XXX_4bbb8
03-11 10:50:24.151 I/wpa_supplicant(19856): wlan0: CTRL-EVENT-EAP-PEER-CERT depth=1 subject='/O=XXX_CENSORED_XXX/CN=XXX_CENSORED_XXX_Network access CA' hash=d8c6c55_XXX_CENSORED_XXX_89316a
03-11 10:50:24.154 I/wpa_supplicant(19856): wlan0: CTRL-EVENT-EAP-PEER-CERT depth=0 subject='/O=XXX_CENSORED_XXX/CN=XXX_CENSORED_XXX' hash=461f5_XXX_CENSORED_XXX_a93bb
03-11 10:50:24.155 I/wpa_supplicant(19856): wlan0: CTRL-EVENT-EAP-PEER-ALT depth=0 DNS:_XXX_CENSORED_XXX_
03-11 10:50:24.197 I/keystore(4122): 1 1
03-11 10:50:24.213 W/keystore(4122): Error in finish: -1000
03-11 10:50:24.214 W/keystore-engine(19856): Error during sign from keystore: 1
03-11 10:50:24.214 I/wpa_supplicant(19856): OpenSSL: openssl_handshake - SSL_connect error:00000000:invalid library (0):eek:PENSSL_internal:invalid library (0)
03-11 10:50:31.958 D/WifiHAL (491): Start get packet fate command
03-11 10:50:31.959 D/WifiHAL (491): createRequest Get Tx packet fate request
03-11 10:50:31.960 E/WifiHAL (491): Failed to register get pkt fate response; result = -95
03-11 10:50:31.964 D/WifiHAL (491): Start get packet fate command
03-11 10:50:31.965 D/WifiHAL (491): createRequest Get Rx packet fate request
03-11 10:50:31.966 E/WifiHAL (491): Failed to register get pkt fate response; result = -95
03-11 10:50:34.997 I/chatty (4824): uid=1000(system) WifiScanningSer expire 7 lines
03-11 10:50:56.116 I/wpa_supplicant(19856): wlan0: CTRL-EVENT-EAP-STARTED EAP authentication started
03-11 10:50:56.123 I/wpa_supplicant(19856): wlan0: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=13
03-11 10:50:56.152 I/wpa_supplicant(19856): TLS - SSL error: error:0900006e:PEM routines:eek:PENSSL_internal:NO_START_LINE
03-11 10:50:56.153 I/wpa_supplicant(19856): wlan0: CTRL-EVENT-EAP-METHOD EAP vendor 0 method 13 (TLS) selected
03-11 10:50:56.225 I/wpa_supplicant(19856): wlan0: CTRL-EVENT-EAP-PEER-CERT depth=2 subject='/O=XXX_CENSORED_XXX/CN=XXX_CENSORED_XXX_Certificate Authority' hash=0c48661XXX_CENSORED_XXX4bbb8
03-11 10:50:56.238 I/wpa_supplicant(19856): wlan0: CTRL-EVENT-EAP-PEER-CERT depth=1 subject='/O=XXX_CENSORED_XXX/CN=XXX_CENSORED_XXX_Network access CA' hash=d8c6c55_XXX_CENSORED_XXX_89316a
03-11 10:50:56.240 I/wpa_supplicant(19856): wlan0: CTRL-EVENT-EAP-PEER-CERT depth=0 subject='/O=XXX_CENSORED_XXX/CN=XXX_CENSORED_XXX' hash=461f5_XXX_CENSORED_XXX_a93bb
03-11 10:50:56.242 I/wpa_supplicant(19856): wlan0: CTRL-EVENT-EAP-PEER-ALT depth=0 DNS:_XXX_CENSORED_XXX_
03-11 10:50:56.285 I/keystore(4122): 1 1
03-11 10:50:56.304 W/keystore(4122): Error in finish: -1000
03-11 10:50:56.305 W/keystore-engine(19856): Error during sign from keystore: 1
03-11 10:50:56.306 I/wpa_supplicant(19856): OpenSSL: openssl_handshake - SSL_connect error:00000000:invalid library (0):eek:PENSSL_internal:invalid library (0)

With stock ROM connecting to this network was possible.