0

for learning purpose I need to have ssL certificate in my ec2 Instance without a domain name can I do that in AWS? if I can how?

mesh
  • 11
  • 1
  • 1
    You can have whatever you want in your ec2 instance but AWS will obviously not issue you a certificate for a domain you do not own. But you can self-sign whatever you want and use it inside your instance. – luk2302 Jun 20 '21 at 08:30
  • It's pretty simple to generate your own certificate and have your https server serve that certificate. The "issue" is that your certificate won't be recognized by any browser. – bolov Jun 20 '21 at 08:33
  • @luk2302 I want the certificate in the IP address can I do that? – mesh Jun 20 '21 at 08:33
  • https://stackoverflow.com/questions/2043617/is-it-possible-to-have-ssl-certificate-for-ip-address-not-domain-name – luk2302 Jun 20 '21 at 08:34

1 Answers1

0

For Learning purposes: No

For Real Life / Production purposes: Yes

some providers offer IP address SSL certificate, but these are for public IPs and not really something for Learning

https://support.globalsign.com/ssl/general-ssl/securing-public-ip-address-ssl-certificates

AWS PS
  • 4,420
  • 1
  • 9
  • 22