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
    • AI Readiness Program
    • 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
    • AI Readiness Program
    • 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
    • AI Readiness Program
    • 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

ResourceVMWare
March 20, 2012

Tips Memindahkan Mesin Fisik ke Virtual Machine (P2V) Menggunakan VMWare Converter-Bagian 1

Read more
Salinan dari Salinan dari Salinan dari Header Artikel (2)
BlogBlog & ResourcesEventNewsZimbra
October 29, 2025

Persiapan Sebelum Melakukan Migrasi Zimbra Mail Server

Read more
Proxmox, PMG & PBS (6)
Blog & ResourcesNewsProduct & ServicesProxmox
May 4, 2026

Downtime Server Mengganggu Operasional Bisnis: High Availability Jadi Kebutuhan, Bukan Pilihan

Read more

Leave a Reply

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

Search
Recent Post
  • Ada Apa di Balik Email Perusahaan?
  • Dari Gas Detector ke AI Readiness: Peluang Digitalisasi di Industri Keselamatan Kerja
  • 5 Hal yang Bisa Dipelajari Marketer Indonesia dari Hasil Riset McKinsey
  • Proxmox Backup Server: Backup Infrastruktur Virtualisasi yang Lebih Terstruktur
  • Proxmox VE Cluster untuk Server Production: Apakah Boleh Menggunakan Tipe Subscription yang Berbeda?
Categories
Archives
Featured image: Instalasi SSL di Apache Web Server
Get in Touch

KATEGORI

  • Home
  • Artikel
  • Training
  • 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…