admin管理员组

文章数量:1356908

I'm having this error whenever I'm trying to install new package on my flutter based application.

Got TLS error trying to find package XYZ at 

I found a few similar questions, but they were not properly addressed. From what I gathered, the issue may be related to missing or untrusted root certificates, and one potential solution is to generate a self-signed certificate and set the following environment variable:

export DART_VM_OPTIONS="--root-certs-file={path.to.certificate.file}"

How do I generate this self signed certificate

本文标签: dartFlutter TLS Error When Installing Packages from pubdev (macOS)Stack Overflow