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

已提问 2 年前1995 查看次数
5 回答
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
专家
Matt-B
已回答 2 年前
  • 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
专家
Matt-B
已回答 2 年前
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
专家
Matt-B
已回答 2 年前
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?

已回答 2 年前
0

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

profile picture
已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则