Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot use SSL #187

Open
Redbeanw44602 opened this issue Jan 23, 2023 · 1 comment
Open

Cannot use SSL #187

Redbeanw44602 opened this issue Jan 23, 2023 · 1 comment

Comments

@Redbeanw44602
Copy link

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!

@aquillano
Copy link

I too am seeing this issue. @moteus Is this a known issue? I'm happy to help debug if required and even submit a pull request if we can get to the bottom of this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants