aboutsummaryrefslogtreecommitdiff
path: root/src/cli/create_command.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli/create_command.zig')
-rw-r--r--src/cli/create_command.zig4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cli/create_command.zig b/src/cli/create_command.zig
index b11a85b1e..5de433e24 100644
--- a/src/cli/create_command.zig
+++ b/src/cli/create_command.zig
@@ -1881,6 +1881,7 @@ pub const Example = struct {
);
async_http.client.progress_node = progress;
async_http.client.reject_unauthorized = env_loader.getTLSRejectUnauthorized();
+ async_http.client.ca_store = env_loader.getTLSCAStore();
const response = try async_http.sendSync(true);
@@ -1959,6 +1960,7 @@ pub const Example = struct {
);
async_http.client.progress_node = progress;
async_http.client.reject_unauthorized = env_loader.getTLSRejectUnauthorized();
+ async_http.client.ca_store = env_loader.getTLSCAStore();
var response = try async_http.sendSync(true);
@@ -2049,6 +2051,7 @@ pub const Example = struct {
);
async_http.client.progress_node = progress;
async_http.client.reject_unauthorized = env_loader.getTLSRejectUnauthorized();
+ async_http.client.ca_store = env_loader.getTLSCAStore();
refresher.maybeRefresh();
@@ -2091,6 +2094,7 @@ pub const Example = struct {
HTTP.FetchRedirect.follow,
);
async_http.client.reject_unauthorized = env_loader.getTLSRejectUnauthorized();
+ async_http.client.ca_store = env_loader.getTLSCAStore();
if (Output.enable_ansi_colors) {
async_http.client.progress_node = progress_node;