Hardcoded list of certificate authorities #4832
-
| Is there any way to compile nodejs without the default list of root certificates? | 
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            richardlau
          
      
      
        Jan 11, 2021 
      
    
    Replies: 0 comments 2 replies
-
| The root certificates are in  | 
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            
      Answer selected by
        avivkeller
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
The root certificates are in
src/node_root_certs.h(see https://github.com/nodejs/node/blob/master/doc/guides/maintaining-root-certs.md). You'll need to patch those out/supply alternatives.