环境信息
- EMQ X 版本:4.1.0
- 操作系统及版本:centos 7
- 其他
问题描述
服务端通过RS256生成jwt token,EMQ通过jwt插件校验,插件是否支持多个RSA证书的情况
配置文件及日志
## From where the JWT string can be got
##
## Value: username | password
## Default: password
auth.jwt.from = password
## RSA or ECDSA public key file.
##
## Value: File
auth.jwt.pubkey = etc/certs/rsa_public_key.pem
## Enable to verify claims fields
##
## Value: on | off
auth.jwt.verify_claims = on
## The checklist of claims to validate
##
## Value: String
## auth.jwt.verify_claims.$name = expected
##
## Variables:
## - %u: username
## - %c: clientid
auth.jwt.verify_claims.clientId = %c