summaryrefslogtreecommitdiff
path: root/cli/installer.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/installer.rs')
-rw-r--r--cli/installer.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/cli/installer.rs b/cli/installer.rs
index eeae35c44..d2d263447 100644
--- a/cli/installer.rs
+++ b/cli/installer.rs
@@ -155,6 +155,10 @@ pub fn install(
let mut executable_args = vec!["run".to_string()];
executable_args.extend_from_slice(&flags.to_permission_args());
+ if let Some(ca_file) = flags.ca_file {
+ executable_args.push("--cert".to_string());
+ executable_args.push(ca_file)
+ }
executable_args.push(module_url.to_string());
executable_args.extend_from_slice(&args);