The SSL - Linux issue already discussed and solved. You can search the forum if you want to find the information. But no need to do it. If I remember correctly this is the summary:
About a year ago, I was learning how to fetch data from http/https sites. Everything was good but after a Ubuntu update my code no longer worked. Not only me, many users have similar issue too.
Because the newer versions of Linux's kernel use newer SSL library and at that time FPC still used the older one, so all Lazarus/FPC Linux users had problem with SSL connection.
Many suggestions had been submitted. I tried them all but none of them worked on my tests. Until someone said the issue already fixed in FPC's trunk. So I waited and finally the Lazarus with FPC 3.2.0 released. I installed them and the SSL issue really has gone.