aws / aws-ec2-instance-connect-config

This is the ssh daemon configuration and necessary EC2 instance scripting to enable EC2 Instance Connect. Also included is various package manager configurations for packaging for various Linux distributions.
Apache License 2.0
83 stars 35 forks source link

Failed to start EC2 Instance Connect Host Key Harvesting due to SSL certificate problem #10

Closed rubbishbean closed 3 years ago

rubbishbean commented 4 years ago

Hi, I'm trying to install and run ec2-instance-connect on a ubuntu 18.04 machine of type m4.2xlarge. I did sudo apt-get install ec2-instance-connect and got the following error: Screen Shot 2020-01-08 at 6 34 20 PM And do systemctl status ec2-instance-connect it shows: Screen Shot 2020-01-08 at 6 35 02 PM

I ran the same commands to setup ec2-instance-connect on other machines with same ami but different instance type(m5) and succeeded. I'm wondering if the SSL problem could be an instance type related issue, or there's some other aspects I need to investigate.

Thank you very much

CptTZ commented 4 years ago

I just launched an instance in us-west-2 of type m4.2xlarge using Ubuntu 18.04 (ami-06d51e91cea0dac8d), and I can't reproduce this.

Can you share in which availability zone you were experiencing this issue? Also, can you check if the ca certs are correct on your machine (e.g. sudo update-ca-certificates)?

ohitspaul commented 3 years ago

Closing issue due to inactivity. Please let us know if this is still a problem.