Skip to content

自签名双向认证如何实现? #93

@lingting2030

Description

@lingting2030

大佬,
请教下我现在是对接一个私有云,使用的是自签名证书,客户端需要用到以下三个文件,我需要如何实现?
连接服务器时所使用的CA.crt文件
连接服务器时所使用的client.crt文件
连接服务器时所使用的client.key文件

目前看到demo只是设置CA证书==》mqtt_set_ca(client, (char*)test_ca_get());,自签名双向认证是否支持?麻烦指导下,谢谢
1703482501144

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions