You may want to remove everything from your wpa_supplicant.conf file but
Code:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=root
network={
ssid="my_ssid"
key_mgmt=WPA-PSK
psk="psk generated using wpa_passhprase"
}
That was the minimal working wpa_supplicant.conf file that worked on my system. Depending how your AP is set up, that may connect you using WPA instead of WPA2 but I think that getting you connected with any type of security is a good first step.