[#3] Assert for  specific error code when there is not cert.