Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MQTT SSL配置“允许跳过服务器证书校验”后提示:No server verification option set in axk_tls_cfg_t structure. Check axk_tls API reference #12

Open
githubworksonline opened this issue Jun 8, 2023 · 0 comments

Comments

@githubworksonline
Copy link

#define CONFIG_AXK_TLS_SKIP_SERVER_CERT_VERIFY 1 //允许跳过服务器证书校验

使能 CONFIG_AXK_TLS_SKIP_SERVER_CERT_VERIFY 后不配置证书,即:.cert_pem .client_cert_pem .client_key_pem都为默认(NULL),程序运行后提示:No server verification option set in axk_tls_cfg_t structure. Check axk_tls API reference。 请问如何处理?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant