android 4.1.1 network connectivity issues
As the OP didn't add the solution as an answer himself...

OP found the answer to the issue himself, strange as it might sound:


  noticed that the device date and time is not correct. corrected it and it worked.


On a second thought, this is a very plausible reason, considering the questions hint about except for SSL sites: If the local date is too far in the past, SSL certificates are "not yet valid" -- and if it's too far in the future, they are "no longer valid". In both cases, establishing a secured connection must fail.