Can now specify no cert or key for when the listening side of the Relay is in RAW TCP mode.

This commit is contained in:
PinkP4nther 2021-10-08 21:37:36 -07:00
commit b5e1a03ced
5 changed files with 39 additions and 23 deletions

View file

@ -45,8 +45,8 @@ fn main() {
bind_port: "443".to_string(),
remote_host: "remote.com".to_string(),
remote_port: "443".to_string(),
ssl_private_key_path: "./remote.com.key".to_string(),
ssl_cert_path: "./remote.com.crt".to_string(),
ssl_private_key_path: Some("./remote.com.key".to_string()),
ssl_cert_path: Some("./remote.com.crt".to_string()),
})
);
// Start listening