0

I'm working with a MINIO server and AWS cpp SDK client. Everything works with HTTP, but after switching to HTTPS I'm getting "NETWORK CONNECTION" errors.
In Wireshark the connection is:

  • client Hello
  • server hello
  • server sends Certificate , Server key exchange, Certificate Request, Server Hello Done
  • client sends ack
  • client sends FIN, ACK

When activating debug, aws logs the following error: WinHttpSyncHttpClient [54364] Send request failed: A certificate is required to complete client authentication

What works:

  • AWS CLI to the MINIO (works with TLS 1.3 so the connection looks different)
  • The same SDK with no SSL connection (when turning if off in MINIO as well).
  • The same SDK works well with AWS S3 (with SSL).

What was tried and does not work:

  • Turning "verifySSL" on and off
  • Sending and not sending region
  • Manually switching to HTTP 1.1

Does anyone have ideas on how to identify\solve the problem?

tami h
  • 21
  • 1

1 Answers1

0

We managed to bypass the problem by switching to OpenSSL instead of WinHttpSyncHttpClient, by turning the relevant flag in AWS SDK CMake file.

tami h
  • 21
  • 1
  • As it’s currently written, your answer is unclear. Please [edit] to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Feb 03 '22 at 00:21