无法从AWS Ec2

时间:2018-03-15 00:27:33

标签: amazon-web-services amazon-ec2 proxy

从ec2实例

运行https://autoscaling.amazonaws.com上的wget时出现以下错误

使用了精确的wget:

wget https://autoscaling.amazonaws.com

Resolving autoscaling.amazonaws.com (autoscaling.amazonaws.com)... 
Connecting to autoscaling.amazonaws.com (autoscaling.amazonaws.com)||:443... failed: Connection timed out.
Retrying.

 (try: 2)  https://autoscaling.amazonaws.com/
Connecting to autoscaling.amazonaws.com (autoscaling.amazonaws.com)||:443... failed: Connection timed out.
Retrying.

(try: 3)  https://autoscaling.amazonaws.com/

我确实有autoscaling.amazonaws.com& s3.amazonaws.com在no_proxy& NO_PROXY env变量

当我尝试

wget https://s3.amazonaws.com

    Connecting to s3.amazonaws.com (s3.amazonaws.com)||:443... connected.
    HTTP request sent, awaiting response... 307 Temporary Redirect
    Location: https://aws.amazon.com/s3/ [following]
   --  https://aws.amazon.com/s3/
    Resolving **-proxy-**.**.**.com (**-**-**.**.**.com)... 
    Connecting to **-proxy-**.**.**.com (**-proxy-**.**.**.com)|... connected.
    ERROR: cannot verify aws.amazon.com's certificate, issued by ‘CN=*,OU=*,O=*,L=*,ST=*,C=*’:
      Unable to locally verify the issuer's authority.

所以对于S3至少它连接并给出了证书错误

0 个答案:

没有答案