Flutter Windows App for AppSync - CERTIFICATE_VERIFY_FAILED #5737
Labels
duplicate
This issue or pull request already exists
feature-request
A request for a new feature or an enhancement to an existing API or category.
GraphQL API
Issues related to the API (GraphQL) Category
Description
I built a flutter app few years ago with Amplify to glue the AWS backend. I have iOS, Android, Web and Windows apps. All of them were working just fine. However, I started getting the following error in ONLY Windows App about a month ago:
flutter: UnknownException {
"message": "unable to send GraphQLRequest to client.",
"underlyingException": "POST https://xxxxxxxxxxxxxxxxx.appsync-api.us-east-1.amazonaws.com/graphql/ failed: HandshakeException: Handshake error in client (OS Error: \n\tCERTIFICATE_VERIFY_FAILED: unable to get local issuer certificate(../../third_party/boringssl/src/ssl/handshake.cc:393))"
}
The requests fails for local certs and also for the Microsoft issued certificates for Windows App Store.
Authentication works (Cognito) just fine. It is the GQL API requests that fails. I use msix for signing (https://pub.dev/packages/msix)
Anyone?
Dart packages
msix | Dart package
Categories
Steps to Reproduce
Login using the App (Auth services works just fine)
The data is fetched and instead raised the error:
flutter: UnknownException {
"message": "unable to send GraphQLRequest to client.",
"underlyingException": "POST https://xxxxxxxxxxxxxxxxx.appsync-api.us-east-1.amazonaws.com/graphql/ failed: HandshakeException: Handshake error in client (OS Error: \n\tCERTIFICATE_VERIFY_FAILED: unable to get local issuer certificate(../../third_party/boringssl/src/ssl/handshake.cc:393))"
}
Screenshots
No response
Platforms
Flutter Version
3.7.0
Amplify Flutter Version
12.4.0
Deployment Method
Amplify CLI (Gen 1)
Schema
No response
The text was updated successfully, but these errors were encountered: