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回答
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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ