Skip to content

This is a sample project to have mutual-tls, client authentication, with an Actix Rust based webserver.

Notifications You must be signed in to change notification settings

sjolicoeur/rust-mtls-example-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample project to experiment with mtls setup ( client authentication )

This is a sample project to have mutual-tls, client authentication, with an Actix Rust based webserver.

build and run:

  • Generate certificates (look into bin/create_certs.sh)
  • cargo run

Test it out

use the .p12 file in the ca/client directory for browser testing.

Or use the .pem file for curl:

curl -L  https://127.0.0.1:8443/ -k --cert ca/client/client.pem -v

About

This is a sample project to have mutual-tls, client authentication, with an Actix Rust based webserver.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published