HTTPS SSL Configuration on Apache2 Web Server - Ubuntu Server

Поділитися
Вставка
  • Опубліковано 6 жов 2024
  • How to encrypt a website with SSL encryption on an Apache2 web server using the Ubuntu Server 20.04 operating system in Virtual Box
    SSL is an abbreviation for Secure Socket Layer, one of the important components that a website must have. With SSL, data transfer on the website becomes more secure and encrypted. In fact, it is so important that Google Chrome labels websites without an SSL certificate as Not Secure.
    If this security system is added to your website, the website URL will change to HTTPS. The main purpose of installing SSL is to protect data exchange that occurs over the internet network.
    To create SSL encryption on the Apache2 webserver is very easy, the steps can be simplified as follows:
    1. Make sure you have created a virtualhost on Apache
    2. Install open ssl
    3. Activate the ssl module (a2enmod ssl)
    4. Create a certificate and certificate key using open ssl
    openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/ssl/private/name.key -out /etc/ssl/certs/name.crt
    5. Fill in the requested data
    6. Duplicate the default ssl configuration file located in /etc/apache2/sites-available
    7. Edit the duplicate file by changing the document root, server name, and the location and name of the SSL key and CRT files that you have created.
    8. Activate SSL configuration with a2ensite
    9. Reload apache2
    10. Done, your website can be accessed using https (port 433)
    -------------------------------------------------- ---------------------------------
    Required equipment:
    Virtualbox
    VM Ubuntu Server 20.04 (for all Linux OS the steps are almost the same)
    Remote SSH (Termius) (Optional)
    Web Server Protection Playlist:
    • Web Server
    Social media :
    Instagram : / sk21.ig
    Twitter : / sanikari21
    Blog: sanikari.blogs...

КОМЕНТАРІ • 7

  • @raffidarinprianto5167
    @raffidarinprianto5167 Рік тому +1

    singkat, padat, jelas!

  • @rynhrmwnnn7728
    @rynhrmwnnn7728 Рік тому +1

    thanks bang

  • @IrsanAchmad
    @IrsanAchmad Рік тому

    Bang kenapa pas ngetik nya error ya? Semua udh diikutin bahkan dari ulang sampe beberapa kali

  • @youngrulz17
    @youngrulz17 11 місяців тому

    Bng kalo sertifikat eror gmn bg?

  • @hwrnetwork6145
    @hwrnetwork6145 7 місяців тому

    Bang itu bisa di akses publik ngga?

    • @Sk21channel
      @Sk21channel  7 місяців тому

      nggak bisa bang, kalo public harus dihosting

    • @freshdael2744
      @freshdael2744 4 місяці тому

      ​@@Sk21channelemang nggak bisa ya bang , pke modem ISP IP Public ? trus di tunneling ke cloudflared ? biar nggak sewa hosting lagi😅