Giter Club home page Giter Club logo

Comments (6)

jlcd avatar jlcd commented on May 21, 2024

Confirmed this warning also shows on the compiled version.

Added another message for context

* WARNING: failed to load NSS PEM library libnsspem.so. Using OpenSSL PEM certificates will not work.
*  CAfile: none
*  CApath: none
* failed to load libnssckbi.so

from curl-impersonate.

lwthiker avatar lwthiker commented on May 21, 2024

Are you on Ubuntu? Could you try installing NSS before? sudo apt install libnss3

from curl-impersonate.

jlcd avatar jlcd commented on May 21, 2024

Was already installed.

jd@MSI:/tmp$ curl_ff95 -vvv https://api.ipify.org
*   Trying 54.91.59.199:443...
* Connected to api.ipify.org (54.91.59.199) port 443 (#0)
* Initializing NSS with certpath: none
* WARNING: failed to load NSS PEM library libnsspem.so. Using OpenSSL PEM certificates will not work.
*  CAfile: none
*  CApath: none
* loaded libnssckbi.so
* ALPN/NPN, server did not agree to a protocol
* SSL connection using TLS_AES_128_GCM_SHA256
* Server certificate:
* subject: CN=*.ipify.org
*  start date: Feb 07 00:00:00 2022 GMT
*  expire date: Mar 10 23:59:59 2023 GMT
*  common name: *.ipify.org
*  issuer: CN=Sectigo RSA Domain Validation Secure Server CA,O=Sectigo Limited,L=Salford,ST=Greater Manchester,C=GB
> GET / HTTP/1.1
> Host: api.ipify.org
> User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0
> Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
> Accept-Language: en-US,en;q=0.5
> Accept-Encoding: gzip, deflate, br
> Upgrade-Insecure-Requests: 1
> Sec-Fetch-Dest: document
> Sec-Fetch-Mode: navigate
> Sec-Fetch-Site: none
> Sec-Fetch-User: ?1
> TE: Trailers
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Server: Cowboy
< Connection: keep-alive
< Content-Type: text/plain
< Vary: Origin
< Date: Sun, 15 May 2022 15:24:36 GMT
< Content-Length: 11
< Via: 1.1 vegur
<
* Connection #0 to host api.ipify.org left intact
[redacted]
jd@MSI:/tmp$ sudo apt install libnss3
[sudo] password for jd:
Reading package lists... Done
Building dependency tree
Reading state information... Done
libnss3 is already the newest version (2:3.49.1-1ubuntu1.6).
libnss3 set to manually installed.
The following packages were automatically installed and are no longer required:
  libfwupdplugin1 libnvidia-compute-495
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 117 not upgraded.
jd@MSI:/tmp$ curl_ff95 -vvv https://api.ipify.org
*   Trying 54.91.59.199:443...
* Connected to api.ipify.org (54.91.59.199) port 443 (#0)
* Initializing NSS with certpath: none
* WARNING: failed to load NSS PEM library libnsspem.so. Using OpenSSL PEM certificates will not work.
*  CAfile: none
*  CApath: none
* loaded libnssckbi.so
* ALPN/NPN, server did not agree to a protocol
* SSL connection using TLS_AES_128_GCM_SHA256
* Server certificate:
* subject: CN=*.ipify.org
*  start date: Feb 07 00:00:00 2022 GMT
*  expire date: Mar 10 23:59:59 2023 GMT
*  common name: *.ipify.org
*  issuer: CN=Sectigo RSA Domain Validation Secure Server CA,O=Sectigo Limited,L=Salford,ST=Greater Manchester,C=GB
> GET / HTTP/1.1
> Host: api.ipify.org
> User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0
> Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
> Accept-Language: en-US,en;q=0.5
> Accept-Encoding: gzip, deflate, br
> Upgrade-Insecure-Requests: 1
> Sec-Fetch-Dest: document
> Sec-Fetch-Mode: navigate
> Sec-Fetch-Site: none
> Sec-Fetch-User: ?1
> TE: Trailers
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Server: Cowboy
< Connection: keep-alive
< Content-Type: text/plain
< Vary: Origin
< Date: Sun, 15 May 2022 15:24:55 GMT
< Content-Length: 11
< Via: 1.1 vegur```

from curl-impersonate.

lwthiker avatar lwthiker commented on May 21, 2024

Seems to me that it works ok?

This line means that curl loaded the nss library with the TLS certificates it needs:

* loaded libnssckbi.so

and the following warning can be ignored:

* WARNING: failed to load NSS PEM library libnsspem.so. Using OpenSSL PEM certificates will not work.

from curl-impersonate.

jlcd avatar jlcd commented on May 21, 2024

Good. Will just ignore it then.

Thanks

from curl-impersonate.

lwthiker avatar lwthiker commented on May 21, 2024

Alright 👍

from curl-impersonate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.