Skip to content

em-http-request TLS Error #26

@SpookySec

Description

@SpookySec

em-http-request

[WARNING; em-http-request] TLS hostname validation is disabled (use 'tls: {verify_peer: true}'), see CVE-2020-13482 and https://github.com/igrigorik/em-http-request/issues/339 for details

Is the message I'm always getting whenever I try creating a simple PageIterator on a host with HTTPS. I really love this project and I would love to see that warning fixed because it's really annoying. thanks!

code:

opts = {'maxpages' => 1}
t = Retriever::PageIterator.new("https://www.google.com", opts) do |page|
    puts page.title
    [page.url]
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions