Errors when installing Aws Replication Agent

0

Enter image description here I have checked connection to S3 endpoint with telnet and sucessfully. But got this error when run this .py file? Anyone ever face this error. Help me Oracle Linux 6.2 Python 3.5

5 Answers
0

Hi There

Check that there is no VPC Endpoint Policy that might be blocking access from a specific vpc, iam role, region, etc.

https://docs.aws.amazon.com/vpc/latest/privatelink/vpc-endpoints-s3.html#edit-vpc-endpoint-policy-s3

profile pictureAWS
EXPERT
Matt-B
answered 2 years ago
  • I have migrated 4 servers with this VPC Endpoint and the Endpoint policy full acess too.

0

Thank you for helping me. After I install openssl and uprage python 3.7.14, i faced an other errors : urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate . I have faced this errors with Windows servers too and fixed it follow this link https://www.logicata.com/blog/ssl-certificate_verify_failed-error-when-trying-to-install-awsreplicationwindowsinstaller-exe-in-windows/ Now i am trying with Linux but still snot fixed. As I think, it's the same as the second reason you mentioned. Cant install packages certifi or something like this in servers. Do you have any idea?

Try to set an environment variable pointing to the AWS CA pem file.

  1. Download the CA pem file from https://www.amazontrust.com/repository/AmazonRootCA1.pem

curl https://www.amazontrust.com/repository/AmazonRootCA1.pem --output /example_path/AmazonRootCA1.pem

  1. Set the env variable to the path of the .pem file

export AWS_CA_BUNDLE =/example_path/AmazonRootCA1.pem

profile pictureAWS
EXPERT
Matt-B
answered 2 years ago
0

OK, can you also tell me are you behind any sort of proxy/firewall that might be inspecting https traffic? I see the CERTIFICATE_VERIFY_FAILED error at the end of the log.

  • Possible cause: The AWS CLI doesn't trust your proxy's certificate
  • Possible cause: Your configuration isn't pointing to the correct CA root certificate location

See https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-troubleshooting.html#tshoot-certificate-verify-failed

profile pictureAWS
EXPERT
Matt-B
answered 2 years ago
0

Thank you for helping me. After I install openssl and uprage python 3.7.14, i faced an other errors : urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate . I have faced this errors with Windows servers too and fixed it follow this link https://www.logicata.com/blog/ssl-certificate_verify_failed-error-when-trying-to-install-awsreplicationwindowsinstaller-exe-in-windows/ Now i am trying with Linux but still snot fixed. As I think, it's the same as the second reason you mentioned. Cant install packages certifi or something like this in servers. Do you have any idea?

answered 2 years ago
0

You can also manually download the Amazon Root CAs from here. https://www.amazontrust.com/repository/

profile picture
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions