Server和client部署整理

This commit is contained in:
xiuting.xu
2026-07-09 17:14:21 +08:00
parent b5cbc7fbee
commit e2bdcd3820
51 changed files with 532 additions and 344 deletions

View File

@@ -94,11 +94,11 @@ impl Default for AppConfig {
db_path: "./rtr-db".to_string(),
ccr_dir: "./data".to_string(),
slurm_dir: None,
tls_cert_path: "./certs/server.crt".to_string(),
tls_key_path: "./certs/server.key".to_string(),
tls_client_ca_path: "./certs/client-ca.crt".to_string(),
ssh_host_key_path: "./certs/ssh_host_ed25519_key".to_string(),
ssh_authorized_keys_path: "./certs/rtr-authorized_keys".to_string(),
tls_cert_path: "./certs/tls/server-dns.crt".to_string(),
tls_key_path: "./certs/tls/server-dns.key".to_string(),
tls_client_ca_path: "./certs/tls/client-ca.crt".to_string(),
ssh_host_key_path: "./certs/ssh/ssh_host_rsa_key".to_string(),
ssh_authorized_keys_path: "./certs/ssh/rtr-authorized_keys".to_string(),
ssh_username: "rpki-rtr".to_string(),
ssh_subsystem_name: "rpki-rtr".to_string(),
ssh_auth_mode: SshAuthMode::Key,