title: curl nss error -5938
body: <p>I am trying one curl command on different servers. One is working and the other one is reporting "nss error -5938". </p>
  
  <p>Server1:</p>
  
  <blockquote>
    <ol>
    <li><p>OS: </p>
    
    <p>Linux 4.1.12-61.1.10.el6uek.x86_64 x86_64 x86_64 x86_64 GNU/Linux</p></li>
    <li><p>CURL -V: </p>
    
    <p>curl 7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.19.1
    Basic ECC    zlib/1.2.3 libidn/1.18 libssh2/1.4.2 Protocols: tftp ftp
    telnet dict ldap ldaps http file https ftps scp sftp Features:
    GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz</p></li>
    <li><p>Command Running Status:Error</p>
    
    <p>Content-Type: application/x-www-form-urlencoded;charset=UTF-8
    HTTP/1.0 200 Connection established
    HTTP/1.0 200 Connection established</p>
    
    <ul>
    <li>Proxy replied OK to CONNECT request</li>
    <li>Initializing NSS with certpath: sql:/etc/pki/nssdb</li>
    <li>CAfile: /etc/pki/tls/certs/ca-bundle.crt
    CApath: none</li>
    <li>NSS error -5938</li>
    <li>Closing connection #0</li>
    <li>SSL connect error
    curl: (35) SSL connect error</li>
    </ul></li>
    </ol>
  </blockquote>
  
  <p>Server2:</p>
  
  <blockquote>
    <ol>
    <li>OS:</li>
    </ol>
    
    <p>Linux 412c25016c7b 4.1.12-37.5.1.el7uek.x86_64 #2 SMP Thu Jun 9
    16:01:20 PDT 2016 x86_64 x86_64 x86_64 GNU/Linux</p>
    
    <ol start="2">
    <li>CURL -V</li>
    </ol>
    
    <p>curl 7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.16.2.3
    Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2 Protocols: tftp ftp
    telnet dict ldap ldaps http file https ftps scp sftp Features:
    GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz</p>
    
    <ol start="3">
    <li>Command Running Status: Without Error</li>
    </ol>
  </blockquote>
  
  <p>Could you please help give some suggestions on how to make server1 work with curl command? Thank you so much!</p>