diff --git a/protocol/gurtca/src/client.rs b/protocol/gurtca/src/client.rs index f34472b..9d23d47 100644 --- a/protocol/gurtca/src/client.rs +++ b/protocol/gurtca/src/client.rs @@ -60,14 +60,12 @@ impl GurtCAClient { } async fn test_connection(&self) -> Result<()> { - // Try a simple request to test if connection works let _response = self.gurt_client .get(&format!("{}/ca/root", self.ca_url)) .await?; Ok(()) } - pub async fn verify_domain_exists(&self, domain: &str) -> Result { let response = self.gurt_client .get(&format!("{}/verify-ownership/{}", self.ca_url, domain)) diff --git a/protocol/gurtca/src/main.rs b/protocol/gurtca/src/main.rs index aa46f78..b0d070a 100644 --- a/protocol/gurtca/src/main.rs +++ b/protocol/gurtca/src/main.rs @@ -102,10 +102,5 @@ async fn get_ca_certificate( std::fs::write(output_path, &ca_cert)?; println!("✅ CA certificate saved to: {}", output_path); - println!("💡 To trust this CA system-wide:"); - println!(" Windows: Import {} into 'Trusted Root Certification Authorities'", output_path); - println!(" macOS: sudo security add-trusted-cert -d -r trustRoot -k /System/Library/Keychains/SystemRootCertificates.keychain {}", output_path); - println!(" Linux: Copy {} to /usr/local/share/ca-certificates/ and run sudo update-ca-certificates", output_path); - Ok(()) } \ No newline at end of file diff --git a/protocol/library/src/client.rs b/protocol/library/src/client.rs index b312f26..c66e354 100644 --- a/protocol/library/src/client.rs +++ b/protocol/library/src/client.rs @@ -51,7 +51,7 @@ impl Default for GurtClientConfig { max_connections_per_host: 4, custom_ca_certificates: Vec::new(), dns_server_ip: "135.125.163.131".to_string(), - dns_server_port: 8877, + dns_server_port: 4878, } } }