Code Monkey home page Code Monkey logo

envoy-hello-validation-context's Introduction

envoy hello validation context

Make sure the cert and key paths inside the envoy.yaml are right (use absolute path if you're not sure).

Run envoy with the provided config.

$ envoy -c envoy.yaml

Call envoy using curl

To route to Google, with http/1.1:

curl -I --http1.1 --cacert ca-crt.pem --key client1-key.pem --cert client1-crt.pem https://localhost:10000

To route to Cloudflare, with http/2:

curl -I --http2 --cacert ca-crt.pem --key client1-key.pem --cert client1-crt.pem https://localhost:10000

Enjoy!

To generate the verify_certificate_hash hash

E.g. for client1-crt.pem.

$ openssl x509 -in path/to/client1-crt.pem -outform DER | openssl dgst -sha256 | cut -d" " -f2

license

MIT

envoy-hello-validation-context's People

Contributors

dio avatar

Watchers

 avatar James Cloos avatar  avatar

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.