简体   繁体   中英

Client Authentication or Mutual Authentication with Mongoose Web Server

Ok it is easy to setup mongoose web server with ssl support if mongoose is authenticating the clients, and it is possible to make https requests with mongoose web server. But can mongoose support " client " authentication(possibly with an ssl certificate) when it is sending out https requests?

If yes then how, if no which alternative library do you suggest?

PS: of course c/c++ and windows

Mongoose does not support client side certificates. Your best call is to use digest authentication, which is built in mongoose, or resort to other methods like cookie-based authentication, or oauth, etc. You can find an example of cookie-based auth in https://github.com/cesanta/mongoose/blob/master/examples/chat.c

自2014年7月起,Mongoose DOES支持客户端证书。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM