http-mtls-proxy
An mTLS proxy (http to mTLS-https) written in Rust, meant to run in the Terminal. For Spring Boot Test Containers, have a look at http-mtls-proxy-boot3-test-container.
Installation
Usage
Usage: http-mtls-proxy [OPTIONS] <MAPPING1> [MAPPING]...
Arguments:
<MAPPING1> Define the request mappings. Ex ':9000/foo/:path*=https://example.com/{path}'
[MAPPING]...
Options:
--client <CLIENT> Create a client for outbound requests. Ex. --client foo=*.example.com
--cert <CERT> Define the certificate a client should use for mTLS. Ex. --cert foo=/path/to/example.com.pem
--key <KEY> Define the key a client should use for mTLS. Ex. --key foo=/path/to/example.com.key
-h, --help Print help
-V, --version Print version
Example: