Skip to content

Cannot use SSL #187

Open
Open
@Redbeanw44602

Description

@Redbeanw44602

Lua code:

local cURL = require "cURL.safe"
local a = cURL.easy {
    url = 'https://www.google.com/',
    --timeout = 60,
    writefunction = function (a)
        print('hello')
    end
}
print(a:perform())
a:close()

Output:

nil     [CURL-EASY][PEER_FAILED_VERIFICATION] SSL peer certificate or SSH remote key was not OK (60)

I use the latest Lua-cURL with libcurl version 7.87.0, download it here. I hope this solves the problem, thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions