Error at HTTP Response

Hello,
I have a problem with flutter. I want to get the HTTP-Response from a website, but it doesn´t work. The example works with other websites, but not with the required website.
Code:

Future initiate() async {
var client = Client();
Response response = await client.get(
https://www.phwt.de
);

I get this error:

E/flutter (18017): [ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: HandshakeException: Handshake error in client (OS Error:
E/flutter (18017): CERTIFICATE_VERIFY_FAILED: unable to get local issuer certificate(handshake.cc:352))

1 Like

This could be an issue due to expired/invalid SSL Certificate.