https://github.com/aramperes/hyper-server-ssl-auth-example
A sample hyper-rs server that supports client-certificate authentication (Rust)
https://github.com/aramperes/hyper-server-ssl-auth-example
https-server hyper rust ssl tokio
Last synced: 7 months ago
JSON representation
A sample hyper-rs server that supports client-certificate authentication (Rust)
- Host: GitHub
- URL: https://github.com/aramperes/hyper-server-ssl-auth-example
- Owner: aramperes
- License: mit
- Created: 2019-09-23T00:34:18.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-12-31T03:45:02.000Z (almost 2 years ago)
- Last Synced: 2025-03-18T17:14:47.702Z (7 months ago)
- Topics: https-server, hyper, rust, ssl, tokio
- Language: Rust
- Size: 89.8 KB
- Stars: 2
- Watchers: 2
- Forks: 3
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hyper Server SSL Client-Cert Authentication
> ⚠️ 2023-12-30: This repository is quite old (by Rust standards); an updated example can be found here: https://github.com/thomasarmel/hyper-https-server-client-auth
A sample Rust server that can process asynchronous HTTPS requests
and fetch the X.509 subject of the client-certificate used.## Crates used
* **tokio**: async I/O and networking
* **hyper**: HTTP library, to send HTTP responses
* **rustls**/**tokio-rustls**: async TLS streams for tokio
* **x509-parser**: to parse X.509 client certificates