Skip to content

[Question][BUG] Node.js 18 Error: unsafe legacy renegotiation disabled #27583

@Askarov5

Description

@Askarov5

Node.js 18 doesn't allow legacy TLS renegotiation by default. But some APIs I'm testing needs to bypass otherwise I'm getting the following error:
apiRequestContext.post: write EPROTO 743D0000:error:0A000152:SSL routines:final_renegotiate:unsafe legacy renegotiation disabled:c:\ws\deps\openssl\openssl\ssl\statem\extensions

Can we allow legacy renegotiation in the request? Based on this solution: https://johnnyreilly.com/node-18-axios-and-unsafe-legacy-renegotiation-disabled

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