Thursday, June 4, 2015

Install SSL LAMP stack on Azure Ubuntu 14.04 LTS

Thursday, June 04, 2015 Posted by Andre Broers 22 comments
sudo apt-get update
sudo apt-get install lamp-server^


sudo a2enmod ssl
sudo service apache2 restart
sudo mkdir /etc/apache2/ssl

sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/apache2/ssl/apache.key -out /etc/apache2/ssl/apache.crt

And fill in all the fields.

sudo vi /etc/apache2/sites-available/default-ssl.conf

alter these lines:
        <VirtualHost _default_:443>
                ServerAdmin admin@example.com
                ServerName mylamp.example.com
                ServerAlias mylamp.example.com
...
                #   SSLCertificateFile directive is needed.
                SSLCertificateFile      /etc/apache2/ssl/apache.crt
                SSLCertificateKeyFile /etc/apache2/ssl/apache.key
...

sudo a2ensite default-ssl.conf

sudo service apache2 restart

browse to the new https endpoint and the ubuntu example page will show up.


22 comments:

  1. Great and really helpful article! Adding to the conversation, providing more information, or expressing a new point of view...Nice information and updates. Really i like it and everyday am visiting your site..

    Digital marketing company in Chennai

    ReplyDelete
  2. Thanks for appreciating. Really means and inspires a lot to hear from you guys.I have bookmarked it and I am looking forward to reading new articles. Keep up the good work..Believe me, This is very helpful for me.

    Online Training in Chennai

    ReplyDelete
  3. Your post is really good. Thank you for taking time to provide us some of the useful and exclusive information with us. Keep on blogging!.


    Best Informatica Training Institute in Chennai

    ReplyDelete
  4. Our Bengals House Flag hangs vertically and provides a top sleeve for insertion of your flagpole. The Bengals House Flag measures 28x42 inches, is constructed of 2-ply polyester, and both sides are dye sublimated with the NFL team logo as shown.The house flag for Bengals has a liner sewn between its two polyester sides, therefore, this flag is viewable and readable correctly on both sides.Hang your Bengals House Flag with our banner pole or fly it with our 5' wood flagpole and adjustable flag bracket.
    house divided flags nfl
    house divided flags nhlNew York Jets house divided flags
    cheap Philadelphia Eagles banners

    ReplyDelete
  5. Made by maglie a lungo termine dei fornitori Adidas, la casa di Chelsea 2016-2017, via e il terzo maglia presentano il logo del main sponsor Yokohama Rubber per la seconda volta. I giapponesi diventano sponsor di maglia del Chelsea nei primi mesi del 2015, prendendo il posto di Samsung.maglie calcio poco prezzo,
    maglie da calcio a poco prezzo, Maglia Athletic Bilbao 2017
    comprar Maglia Atletico Madrid

    ReplyDelete
  6. This blog is so nice to me. I will continue to come here again and again. Visit my link as well. Good luck
    obat aborsi
    cara menggugurkan kandungan
    obat telat datang bulan
    obat penggugur kandungan

    ReplyDelete
  7. These provided information was really so nice,thanks for giving that post and the more skills to develop after refer that post. Your articles really impressed for me,because of all information so nice.

    SEO Company in India

    ReplyDelete
  8. Thanks for sharing the best information..It was very useful and helpful for me.

    android app development training in bangalore

    ReplyDelete
  9. Great post! Bookmarking your site and will visit it again. Keep sharing informative blog.

    iOS App Development Company

    ReplyDelete
  10. Excellent and very cool idea and the subject at the top of magnificence and I am happy to this post..Interesting post! Thanks for writing it.What's wrong with this kind of post exactly? It follows your previous guideline for post length as well as clarity.
    Java Training in Chennai

    ReplyDelete
  11. Interesting blog which attracted me more.Spend a worthful time.keep updating more.
    Digital marketing company in Chennai

    ReplyDelete