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

[v8.x backport] src: add openssl-system-ca-path configure option #18174

Closed
wants to merge 1 commit into from

Commits on Jan 16, 2018

  1. src: add openssl-system-ca-path configure option

    The motivation for this commit is that we need to specify system CA
    certificates when building node. While we are aware of the environment
    variable NODE_EXTRA_CA_CERTS this is not a great solution as we build
    an RPM and we also don't want users to be able to unset them.
    
    The suggestion is to add a configure time property like this:
    
    --openssl-system-ca-path=OPENSSL_SYSTEM_CA_PATH
                 Use the specified path to system CA (PEM format) in
                 addition to the OpenSSL supplied CA store or compiled-
                 in Mozilla CA copy.
    
    Usage example:
    $ ./configure --openssl-system-ca-path=/etc/pki/tls/certs/ca-bundle.crt
    
    This would add the specified CA certificates in addition to the ones
    already being used.
    
    PR-URL: nodejs#16790
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    danbev committed Jan 16, 2018
    Configuration menu
    Copy the full SHA
    d2cd548 View commit details
    Browse the repository at this point in the history