简体   繁体   中英

Use certificate from letsencrypt with flutter

My server uses a certificate from letsencrypt, and the https connection works great from chrome on my phone, but fails with "unable to get local issuer certificate" from my flutter app. I am using the "http.dart" library to connect. This seems to be a common occurrence and a common question, but other people seem to just turn off the cert check or include the .crt file in the project, both of which aren't optimal solutions.

Has anyone found a better solution? A different lib? A configuration that I'm missing?

Thanks in advance.

显然这是服务器端的配置错误: https : //github.com/dart-lang/http/issues/376

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