logotype
  • Home
  • News
  • Product dan Services
    • Zimbra Mail Server
      • Excellent Managed Services Email
      • Lisensi Zimbra NE
      • Support dan Maintenance
      • MX Backup & ASAV
      • SMTP Relay
    • Proxmox
      • Proxmox Virtual Environment
      • Proxmox Mail Gateway
      • Proxmox Backup Server
    • XCP-ng
    • Red Hat Enterprise Linux
    • Ubuntu Pro
    • Nakivo Backup & Recovery
    • Vinchin Backup & Recovery
    • Lisensi
      • Proxmox Mail Gateway
      • Lisensi Zimbra Network Edition
      • Lisensi Nakivo Backup & Recovery
      • Subscription Zoom
    • Buku Training Mandiri
      • Buku Training Mandiri
      • Ebook Training Mandiri
    • Cloud & Hosting
      • Excellent Managed Services Email Server
      • MX Backup/Anti Spam & Anti Virus
      • SMTP Relay & Mail Gateway
      • Excellent Mail Hosing
    • SSL Sertifikat
  • Training
  • Insight
  • About Us
  • Contacts
logotype
logotype
  • Home
  • News
  • Product dan Services
    • Zimbra Mail Server
      • Excellent Managed Services Email
      • Lisensi Zimbra NE
      • Support dan Maintenance
      • MX Backup & ASAV
      • SMTP Relay
    • Proxmox
      • Proxmox Virtual Environment
      • Proxmox Mail Gateway
      • Proxmox Backup Server
    • XCP-ng
    • Red Hat Enterprise Linux
    • Ubuntu Pro
    • Nakivo Backup & Recovery
    • Vinchin Backup & Recovery
    • Lisensi
      • Proxmox Mail Gateway
      • Lisensi Zimbra Network Edition
      • Lisensi Nakivo Backup & Recovery
      • Subscription Zoom
    • Buku Training Mandiri
      • Buku Training Mandiri
      • Ebook Training Mandiri
    • Cloud & Hosting
      • Excellent Managed Services Email Server
      • MX Backup/Anti Spam & Anti Virus
      • SMTP Relay & Mail Gateway
      • Excellent Mail Hosing
    • SSL Sertifikat
  • Training
  • Insight
  • About Us
  • Contacts
logotype
  • Home
  • News
  • Product dan Services
    • Zimbra Mail Server
      • Excellent Managed Services Email
      • Lisensi Zimbra NE
      • Support dan Maintenance
      • MX Backup & ASAV
      • SMTP Relay
    • Proxmox
      • Proxmox Virtual Environment
      • Proxmox Mail Gateway
      • Proxmox Backup Server
    • XCP-ng
    • Red Hat Enterprise Linux
    • Ubuntu Pro
    • Nakivo Backup & Recovery
    • Vinchin Backup & Recovery
    • Lisensi
      • Proxmox Mail Gateway
      • Lisensi Zimbra Network Edition
      • Lisensi Nakivo Backup & Recovery
      • Subscription Zoom
    • Buku Training Mandiri
      • Buku Training Mandiri
      • Ebook Training Mandiri
    • Cloud & Hosting
      • Excellent Managed Services Email Server
      • MX Backup/Anti Spam & Anti Virus
      • SMTP Relay & Mail Gateway
      • Excellent Mail Hosing
    • SSL Sertifikat
  • Training
  • Insight
  • About Us
  • Contacts
Blog Post
BlogBlog & ResourcesLinuxProduct & ServicesSSL

Instalasi SSL di Apache Web Server

July 28, 2025by Zaidan

Apache HTTP Server adalah salah satu layanan web server yang banyak digunakan di Linux environment. Untuk memastikan koneksi lebih aman dan terenkripsi, instalasi SSL merupakan hal yang penting.

Dalam artikel kali ini, kami akan membahas cara instalasi SSL di Apache Web Server.

Persiapan

Sebelum memulai, pastikan Anda sudah memiliki file SSL yang dibutuhkan. Serta, pastikan juga web server-nya siap digunakan. Pastikan nama domain sudah mengarah ke IP server dan juga sertifikat SSL sudah divalidasi.

Salin File SSL ke Server

Buat direktori baru untuk menyimpan SSL, misalnya mkdir /etc/apache2/ssl . Upload file-file SSL seperti sertifikat SSL-nya, private key, dan juga CA bundle ke dalam direktori tersebut. Bisa menggunakan WinSCP (apabila menggunakan Windows) atau perintah scp di Terminal.

Konfigurasi Virtual Host Apache

Disarankan untuk membuat virtual host baru daripada menggunakan default virtual host.

Buat Virtual Host Baru

nano /etc/apache2/sites-available/domain-xyz-ssl.conf

Konfigurasi

 <VirtualHost *:443>
     ServerName domain.xyz
     DocumentRoot /var/www/domain-xyz

SSLEngine on
SSLCertificateFile /etc/apache2/ssl/commercial.crt
SSLCertificateKeyFile /etc/apache2/ssl/commercial.key
SSLCertificateChainFile /etc/apache2/ssl/ca_bundle.crt

SSLProtocol all -SSLv2 -SSLv3
    SSLHonorCipherOrder On
    SSLCipherSuite "ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128:AES256:HIGH:!aNULL:!eNULL:!EXPORT:!DES:!MD5:!PSK:!RC4"

    Header always set Strict-Transport-Security "max-age=63072000; preload;"


<Directory /var/www/domain-xyz>
    Options Indexes FollowSymLinks
    AllowOverride All
    Require all granted
</Directory>

ErrorLog ${APACHE_LOG_DIR}/domain.xyz-error.log
CustomLog ${APACHE_LOG_DIR}/domain.xyz-access.log combined
</VirtualHost>
  • ServerName: domain yang menggunakan SSL
  • DocumentRoot: direktori file situs web
  • SSLCertificateFile: sertifikat SSL
  • SSLCertificateKeyFile: private key
  • SSLCertificateChainFile: CA bundle
  • SSLProtocol , SSLCipherSuite : menentukan cipher suite untuk meningkatkan keamanan koneksi
  • HSTS (HTTP Strict Transport Security) juga ditambahkan untuk memastikan web browser hanya menggunakan HTTPS.

Aktivasi SSL dan Virtual Host

  • Aktivasi modul SSL dan modul yang diperlukan:

a2enmod ssl
a2enmod headers
a2ensite domain-xyz-ssl.conf
a2dissite default-ssl.conf

Restart Apache dan Verifikasi

Gunakan perintah berikut untuk melakukan restart pada Apache:

systemctl restart apache2

Untuk melakukan verifikasi, kunjungi domain yang dikonfigurasi SSL-nya melalui web browser. Apabila konfigurasi sudah sesuai, maka:

  • Koneksi HTTPS berhasil
  • Muncul ikon gembok pada address bar
  • Sertifikat SSL akan valid apabila diverifikasi oleh browser

Penutup

Instalasi SSL merupakan hal yang sangat penting apabila Anda mengelola situs web. Instalasi dapat dilakukan dengan beberapa langkah sederhana pada layanan salah satu web server yang paling banyak digunakan, yaitu Apache.

Apabila Anda memiliki pertanyaan lebih lanjut mengenai SSL, hubungi kami melalui sales@excellent.co.id .

AboutMuhammad Zaidan
IT Support for PT Excellent Infotama Kreasindo | Certified Nakivo Technical & Sales Professional | In charge of Excellent Managed Services (EMS), Proxmox and Nakivo
Prev

Webinar - Nakivo Backup & Replication: Solusi Backup Cerdas untuk Proxmox VE, VMWare, HyperV, dan Microsoft 365. Daftar Sekarang, Gratis!

Next

Instalasi SSL di HAProxy untuk Reverse Proxy Web Server (Single Server)

Related Posts

ResourceZimbra
October 31, 2012

Solved : Zimbra tidak Bisa Mengirim Email Keluar, not Permitted to Relay Through this Server

Read more
Update 11.0.3
BlogBlog & ResourcesNakivoNewsProduct & Services
May 2, 2025

Nakivo Backup & Replication Patch Release: Version 11.0.3

Read more
Proxmox & UntangleResource
January 23, 2012

Kumpulan Tutorial Mengenai Proxmox Virtual Environment

Read more

Leave a Reply

Your email address will not be published. Required fields are marked *

Search
Recent Post
  • Zimbra Daffodil 10.1.16 Rilis: Modern Web App Makin Cerdas, Backup Lebih Hemat Storage, dan Peningkatan Keamanan
  • Live Migration vs High Availability di XCP-ng: Perbedaan dan Skenario Penggunaan
  • Informasi untuk Pelanggan PT. Excellent Infotama Kreasindo : Penyesuaian Kebijakan Masa Berlaku Sertifikat SSL/TLS Menuju Standar Keamanan Global
  • Excellent Infotama Kreasindo: Lingkungan Kerja yang Memberi Ruang untuk Bertumbuh
  • Segudang Benefit dari Dana Buffer: Ketika Kebijakan Berangkat dari Pengalaman
Categories
Archives
Featured image: Instalasi SSL di Apache Web Server
Get in Touch

KATEGORI

  • Home
  • Artikel
  • Jadwal
  • Event
  • Berita

LAYANAN

  • Zimbra Mail Server
  • Ubuntu
  • XCP-ng
  • Vinchin
  • ASAV
  • Proxmox
  • RHEL
  • Nakivo
  • SMTP Relay
  • SSL Certificate

KONTAK KAMI

PT. Excellent Infotama Kreasindo, Premier Serenity Blok J12, Jl. KH. Agus Salim No. 40E, Bekasi Jaya, Bekasi Timur, Bekasi 17112, Jawa Barat, Indonesia

TENTANG KAMI

PT. Excellent Infotama Kreasindo merupakan entitas bisnis yang fokus pada layanan komputerisasi seperti implementasi sistem, konsultasi, training/workshop, dan maintenance sistem, terutama migrasi dari sistem Windows ke Linux. more…