How to set https for laravel app under ASW ec2 instance ?
Hallo,
I installed ASW ec2 instance(Ubuntu 20) with apache 2 and after apache config changes
root of my laravel 8/vuejs app run at
http://ec2-NN-NN-NN-NN.eu-central-1.compute.amazonaws.com/
As my app use OAuth client ID
I tried and failed to make OAuth client ID for my ASW ec2 instance : https://imgur.com/a/tIQiPAe
Could you please advice some simple way to run my app under https ?
This site is under dev now and I would not like to install https at this stage,
but looks like I need to generate OAuth client ID...
I Created “Allocate new address” with option “ Amazon pool” on.
I got message :
New address request succeeded
Elastic IP NN.NNN.NNN.NN
In the listing of “Addresses > Associate address” I selected newly create Associate address and
applied Instance I created before. I left options “Private IP” empty and “Reassociation” non checked
I am not sure is it correct? Applying OI got message “Associate address request succeeded”
I am not sure what do you mean by “This ensures your server has a static IP address that won't change” point
Could you please detalize which checks have I to do?
Could you please advice where buy a domain for hostname ? I used https://my.freenom.com for creating
hostnames for my applications on Digital Ocean. Is it good choice ?
Now I make “dev” server, so is it possible to create ssl support without hostname defined for my site?
In other words can I apply your referenced article “How To Secure Apache with Let's Encrypt on Ubuntu 20.04”
to my site url http://NN.NNN.NNN.NN/ ?