return -1/0 instead of ssl specific return codes when setting crt/key files