Skip to content

DeprecationWarning: Setting the TLS ServerName to an IP address is not permitted by RFC 6066 #127

@fbeauchamp

Description

@fbeauchamp

We use https-proxy-agent to connect to server with a self signed certificate using their ip .

tls.connect with such a servername shows this warning :DeprecationWarning: Setting the TLS ServerName to an IP address is not permitted by RFC 6066

The servername should be removed only when using an ip address, as to not disable SNI when possible

thanks in advance.

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