Skip to content

How to fix lua ssl certificate verify error? #42

@yurevich1

Description

@yurevich1

If I use
local http = require("resty.http").new()
local res, err = http:request_uri(url, {
method = method,
headers = headers,
body = body
})

without ssl_verify = false for https, I receive
lua ssl certificate verify error: (20: unable to get local issuer certificate),
how to setup nginx.conf in a proper way it order to use ssl_verify = true?

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