Skip to content

nwtgck/hyper-rustls-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hyper-rustls-example

Simple example of hyper-rustls

Run

Run as follows.

cargo run

Access to the server as follows.

curl -k https://localhost:3000/

Make self-signed certificates by yourself

You can make certificates as follows.

mkdir ssl_certs && cd ssl_certs && openssl req -x509 -newkey rsa:4096 -keyout server.key -out server.crt -days 365 -sha256 -nodes --subj '/CN=localhost/' && cd -

Releases

No releases published

Packages

No packages published

Languages