Skip to content

Commit

Permalink
Fix secure connect on modem
Browse files Browse the repository at this point in the history
Temporarily disabled verification for secure connect on modem
  • Loading branch information
jtbaumann committed Mar 27, 2023
1 parent 1b757f5 commit ca868cb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions samples/tmo_shell/src/tmo_shell.c
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,11 @@ int tcp_create_tls_core(const struct shell *shell, size_t argc, char **argv, int
}
socks[idx].flags |= BIT(sock_tls);

#if CONFIG_MODEM
int tls_verify_val = TLS_PEER_VERIFY_NONE;
zsock_setsockopt(sd, SOL_TLS, TLS_PEER_VERIFY, &tls_verify_val, sizeof(tls_verify_val));
#endif

return ret;
}

Expand Down

0 comments on commit ca868cb

Please sign in to comment.