Skip to content

flashmanbarry/ssl_grpc_example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SSL and server-side authentication for gRPC

This repository provides a simple example of using SSL and server-side authentication for gRPC using Python.

Python 2.7 and 3.6

gRPC: 1.9.1

For more details, see http://www.sandtable.com/using-ssl-with-grpc-in-python/

Certificate

Generate certificate for the server. Uses openssl.

make gen_key

Install gRPC packages

pip install -r requirements.txt

Generate gRPC stubs

make stubs

Run server

make server

Run client

make client

About

Example using SSL with gRPC in Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 83.7%
  • Makefile 16.3%