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

crypto: support RFC 2818 compatible checkHost #41569

Closed

Commits on Jan 18, 2022

  1. crypto: support RFC 2818 compatible checkHost

    The 'subject' option should not only accept the values 'always' and
    'never' because neither is compatible with RFC 2818, i.e., HTTPS. This
    change adds a third value 'default', which implies the behavior that
    HTTPS mandates.
    
    The new 'default' case matches the default behavior of OpenSSL for both
    DNS names and email addresses.
    
    Future Node.js versions should change the default option value from
    'always' to 'default'.
    
    Refs: nodejs#36804
    tniessen committed Jan 18, 2022
    Configuration menu
    Copy the full SHA
    959817a View commit details
    Browse the repository at this point in the history