Coder Social home page Coder Social logo

Convert all examples to use HTTPS about yelp-api HOT 4 CLOSED

yelp avatar yelp commented on June 30, 2024
Convert all examples to use HTTPS

from yelp-api.

Comments (4)

mittonk avatar mittonk commented on June 30, 2024

C# example works on https without other modifications, good.

Perl example complains:

500 Can't verify SSL peers without knowing which Certificate Authorities to trust
Content-Type: text/plain
Client-Date: Sun, 05 Apr 2015 03:57:24 GMT
Client-Warning: Internal response

Can't verify SSL peers without knowing which Certificate Authorities to trust

This problem can be fixed by either setting the PERL_LWP_SSL_CA_FILE
envirionment variable or by installing the Mozilla::CA module.

To disable verification of SSL peers set the PERL_LWP_SSL_VERIFY_HOSTNAME
envirionment variable to 0.  If you do this you can't be sure that you
communicate with the expected peer.
Something went wrong at search.pl line 42.

Installing Mozilla::CA did the trick, but does raise the bar of entry a little. @tomelm , any opinions?

from yelp-api.

tomelm avatar tomelm commented on June 30, 2024

I don't think it's too bad having that Mozilla::CA dependency. If all you need to do is install it I think it should be okay!

from yelp-api.

mittonk avatar mittonk commented on June 30, 2024

Great, I'll go that direction.

from yelp-api.

mittonk avatar mittonk commented on June 30, 2024

OK, all the documentation now says HTTPS; now's a good time to update the examples.

Looking at Mozilla::CA.

from yelp-api.

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.