Skip to content
  • Blog
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Community Forum

  1. Home
  2. Categories
  3. Blog articles comments
  4. Enable SSL for apache server in 5 minutes

Enable SSL for apache server in 5 minutes

Scheduled Pinned Locked Moved Blog articles comments
apache2cloudlinuxapachecertificate
11 Posts 10 Posters 6.1k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • CharlesC Offline
    CharlesC Offline
    Charles
    wrote on last edited by Charles
    #1

    This post describe how to quickly enable SSL for apache web server under linux. This has been done on a clouded virtual machine, the Linux distribution is Ubuntu 12.04 LTS Server, the one provided by Amazon Aws or Microsoft Azure.… Continue Reading

    Click here to see the full blog post

    1 Reply Last reply
    • A Offline
      A Offline
      AfroViking
      wrote on last edited by
      #2

      Thank you so much!!! I can finally go to bed now 😄

      BTW I would also recommend these lines in the default-ssl or default-ssl.conf (depending on what is in your folder when logged into your server
      /etc/apache2/sites-available/

      under: <Virtual host default:443>

      Find a place to put this three lines

      Header add Strict-Transport-Security "max-age=1576800"
      SSLProtocol all -SSLv2 -SSLv3
      SSLCipherSuite HIGH:!aNULL:!MD5

      </VirtualHost>

      This will give you a better score at https://sslanalyzer.comodoca.com/

      1 Reply Last reply
      • CharlesC Offline
        CharlesC Offline
        Charles
        wrote on last edited by
        #3

        @AfroViking
        thanks for the head up, I will add these line for sure

        1 Reply Last reply
        • I Offline
          I Offline
          Israel Barragan
          wrote on last edited by
          #4

          So simple. I had to do a few trick on my apache configuration becabuse I compiled it from source but your post helped a lot. I have setting up my SSL on my Debian and Linux Mint distros.

          1 Reply Last reply
          • Raju GinneR Offline
            Raju GinneR Offline
            Raju Ginne
            wrote on last edited by
            #5

            how to enable ssl for only website in server all other are port 80

            if i enabled ssl module then port 80 http traffic refusing

            1 Reply Last reply
            • T Offline
              T Offline
              test123
              wrote on last edited by
              #6

              You bloody genius.

              1 Reply Last reply
              • R Offline
                R Offline
                rubybenson
                wrote on last edited by
                #7

                Thanks for this great article. I got many ideas from this blog. You may get some more ideas here http://bit.ly/2Afdi6i

                1 Reply Last reply
                • Oliver RussellO Offline
                  Oliver RussellO Offline
                  Oliver Russell
                  wrote on last edited by
                  #8

                  Nice guide for integrating <a href="https://www.cloudways.com/blog/add-ssl-certificates-to-custom-php-sites/">PHP with SSL</a>. But this doesn't include how to write redirect rules so your http php site is redirect to https urls. You can write the redirect rules in .htacess.

                  1 Reply Last reply
                  • E Offline
                    E Offline
                    Ethan Roman
                    wrote on last edited by
                    #9

                    Thank you

                    1 Reply Last reply
                    • I Offline
                      I Offline
                      imheretobeuseful
                      wrote on last edited by
                      #10

                      AWS amazon, I was able to make this guide working in 2020.
                      anyway, for apache2/php7 you have to change this:
                      000-default-ssl is now default-ssl
                      also pay attention to symlink creation. if red, something bad. if its blue, good 4 you.
                      also, depending on the distribution, to check apache you may apachectl -V
                      cercatore @ github.com
                      or httpdctl -V

                      1 Reply Last reply
                      • Hasibur JoyH Offline
                        Hasibur JoyH Offline
                        Hasibur Joy
                        wrote on last edited by
                        #11

                        Hi, This is hasibur joy. I have a site and i also want to enable SSL for my site: here is my site link: Blog With Joy.

                        1 Reply Last reply

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        0

                        Online

                        5.8k

                        Users

                        565

                        Topics

                        5.3k

                        Posts

                        Top Topics

                        Popular Tags

                        teleinfo
                        25 topics
                        arduino
                        19 topics
                        remora
                        16 topics
                        esp8266
                        10 topics
                        arduipi
                        10 topics
                        raspberry
                        8 topics
                        wifinfo
                        7 topics
                        broadcast
                        7 topics
                        Copyright © 2022 Charles-Henri Hallard | Return to blog page | Powered by NodeBB
                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Blog
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • Users
                        • Groups