Openoffice broken with cURL error 51: SSL

Hi, im on ubuntu 18.04 LTS, using self signed certificats without dockers. onlyoffice was working fine until I upgraded to the latest NC 18 version.
Since then it I cannot use onlyoffice, community document server is in the same location as NC, I did the NC config.php edit to ignore the certificate but doesnt work, please help.

Let me reiterate: upgrading nc to the latest version broke my onlyoffice integration!
I know this because reverting back to an earlier version works!