Yes, my assumption was correct. There is an answer for the same question here:
Serverfault: SSL3_READ_BYTES:sslv3 alert bad certificate