8

Hey Guys
Linux VPS + Apache2 + https
I'm a noob in Linux, got my VPS live, but I'm serving http... Even if my page doesn't save even cookies It will marked as unsecure.
Is it possible to config Apache2 to serve https?
Thank you
PS.: Googled and got nothing special, only info about Apache2

Comments
  • 4
    Well... if configured correctly you just need certbot (Let's Encrypt). Install, execute and so on. Read the documentation on their website...

    There's an option for https-forwarding (one of the questions during the certificate creation).

    Hope that's all 🤔
  • 2
    Install certbot https://certbot.eff.org and let it take care of the certificates and configuration. It's pretty simple to setup. I don't know what distro you are running but I use Ubuntu and it's in the default package repo.
  • 2
    Certbot if you know the OS and are familiar with the terminal.
    Should only take 5 minutes to setup and be running.

    Cloudflare is second best, but will only be https to their servers then http back to yours leaving you open to MITM without your own cert on your server, but can still be used as a ddos wall when you have your own cert.
  • 1
    @CodePatronus Well, already had such problems here, better just to tell.
    @Irithyll @njpugh90 @C0D4 @RobertSmits Thanks for the info, i'll check certbot. I don't have much experience, but used Mint for two months… Came back to Windows but learned a lot before messing with a VPS I'm paying :p
    PS. If ya guys want to try Skysilk tell me, so I can use you as refereal :D Gets me a few months of free VPS.
  • 0
    Oh… Certbot does not have my OS… Ubuntu 18.04
    Is that a problem?
  • 1
    @GyroGearloose If I recall correctly it's in the standard repo.
    A simple `sudo apt install certbot` should do.
  • 0
    @RobertSmits oh that's a lot easyer then download and install, thanks
  • 1
    Yep… had problems with the host name, till I figured out it was just my link.
    Should buy a DNS now… but a free one is good enought.
    If you want to check:
    https://rjpf.ddns.net/
    Ps… FUCK CSS
Add Comment