While performing GET operation on s3 via s3 cp command, it is making a https request on endpoint “ which is breaking at point number 3 in Fig2 because proxy lies between client and s3 endpoint whose certificate verification is failing and also whitelisting is not done.
With the help of openssl command, I got to know that our network is blocking internet requests due to some proxy configured for all the internet requests.īut the question arises why it is giving certificate verification failed error ? Well, we need to understand first how TLS/SSL communication/handshake works. Output: Refer Fig1a and Fig1b Fig1a Fig1b Openssl s_client -connect bucket_name.s3.:443 -servername bucket_name.s3. AWS_ACCESS_KEY_ID=XXXXXXX AWS_SECRET_ACCESS_KEY=XXXXXXX aws s3 cp s3://bucket_name/file_nameįatal error: SSL validation failed for ' certificate verify failed' (_ssl.c:727)Ībove output is not giving enough information to troubleshoot this further.