ssl private method error