具体原因:lcobucci/jwt版本3.4及更高版本,
tymon/jwt-auth版本小于1.0.2的会出现这个问题,因为依赖lcobucci/jwt,但却又不锁定版本,导致会自动升级到lcobucci/jwt3.4及以上版本,将tymon/jwt-auth升级到1.0.2即可,具体实现就是把lcobucci/jwt降级到3.4以下,看这里:Releases · tymondesigns/jwt-auth。
临时解决:https://learnku.com/laravel/t/51873
Encoding format (tmp) is not supported.
cURL error 60: SSL certificate problem: unable to get local issuer certificate