1

I am using AWS and I created an Instance in EC2 and created a SSL Certificate in Certificate Manager, I have a domain from whois.com which I was able to connect to my instance using Route 53.

I am now trying to install the SSL Certificate to my EC2 instance and have googled a bunch on tutorials on the subject, but they all are super confusing and don't seem to work, must of them say I need to use a Load Balancer, but either I am missing a step or something I am doing is wrong because the SSL certificate is not working, http works like a charm, https is not working at all.

Is someone able to point me in the right direction?

Chris Williams
  • 32,215
  • 4
  • 30
  • 68
user979331
  • 11,039
  • 73
  • 223
  • 418

1 Answers1

1

AWS do not allow the certificates to be downloaded for ACM public CA so you are limited with where it can be attached.

You cannot use a public ACM certificate directly in your EC2 instance. The following resources support attachment for HTTPS of your application:

If you do not want to use one of these resources then the following 3 options are available for you:

  • Use a free SSL CA to generate the SSL for your EC2 instance such as certbot
  • Purchase a SSL from another CA and install on your host
  • Use AWS ACM Private CA (Although this can be expensive)
Chris Williams
  • 32,215
  • 4
  • 30
  • 68
  • By using Elastic Load Balancer, can I connect the SSL certificate to my EC2 instance? Do I have to do anything on the ubuntu server in my instance? – user979331 Jul 07 '20 at 08:28
  • By adding an ELB, you would set your instance as a target. The load balancer could serve SSL with the instance still running HTTP (this is known as SSL termination). This would require no changes on the instance itself. – Chris Williams Jul 07 '20 at 08:34