Flutter Handshake error in client (OS Error: CERTIFICATE_VERIFY_FAILED: self signed certificate in certificate chain(ssl_cert.c:345))

I started playing with Flutter to get to it better. The setup in the work PC was easy and straightforward. But when installing at my home’s PC I started getting an error when running flutter doctor.
The error was the following:

C:\Users\vieir>flutter doctor
Checking Dart SDK version…
Downloading Dart SDK from Flutter engine ead227f118077d1f2b57842a32abaf105b573b8a…
Unzipping Dart SDK…
Updating flutter tool…
Handshake error in client (OS Error:
CERTIFICATE_VERIFY_FAILED: self signed certificate in certificate chain(ssl_cert.c:345))
Error: Unable to ‘pub upgrade’ flutter tool. Retrying in five seconds…

After a lot of different tries I found the problem:

Antivirus.

I just disabled my Kaspersky Antivirus and it worked like a charm.

Hope it helps someone to solve it quicker 😀

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s

Create a website or blog at WordPress.com

Up ↑

%d bloggers like this: