From @tmst on January 19, 2018 20:2
I have no idea how certificates work:
/home/tom/work/dart-sdk/bin/pub get
Resolving dependencies…
Handshake error in client (OS Error:
CERTIFICATE_VERIFY_FAILED: unable to get local issuer certificate(ssl_cert.c:345))
Process finished with exit code 1
certificate_error.txt
certs.txt
Copied from original issue: dart-lang/pub#1786
For me the error was caused by my antivirus, i had to disable it to make Dart works.
For me, error disappeared after I explicitly ran cmd promt with anadministrator privileges.