Cara Pasang SSL di Apache Gampang Banget
SSL di Apache jadi keharusan di 2025—situs ga aman bikin orang takut… tapi tenang, pasangnya gampang banget. Ga perlu jadi teknisi—cukup ikut langkah simpel… artikel ini kasih panduan, dari generate sampe aktif, semua dibahas biar situs aman cepet!
1. Cek Apache Nyala
Pastiin Apache jalan—systemctl status apache2
di terminal… kalo ga, start pake systemctl start apache2
. Indositehost kasih VPS Apache—ga usah ribet… server siap.
2. Install Certbot
Certbot bikin SSL gratis—apt install certbot python3-certbot-apache
… 5 menit selesai. Indositehost kasih akses SSH—ga usah takut… Let’s Encrypt siap jalan.
3. Generate SSL
Jalankan certbot --apache
—masukin domain, tunggu 2 menit… SSL jadi. Certbot ngurusin semua—Indositehost kasih panduan… situs aman tanpa pusing.
4. Cek Config Apache
Certbot ubah config—cek /etc/apache2/sites-available… pastiin port 443 aktif. Indositehost kasih setup default—ga usah edit banyak… SSL langsung nyala.
5. Restart Apache
Restart Apache biar SSL jalan—systemctl restart apache2
… cuma 10 detik. Indositehost kasih server stabil—ga usah takut error… situs langsung aman.
6. Redirect HTTPS
Paksa HTTPS—edit .htaccess pake RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI}
… semua aman. Indositehost kasih panduan—ga usah bingung… ga ada HTTP lagi.
7. Tes SSL
Cek pake browser—kunci hijau muncul, ga ada warning… tes SSL Checker kalo mau. Indositehost kasih SSL solid—ga usah takut gagal… situs jadi pro.
8. Renew Otomatis
Let’s Encrypt 90 hari—Certbot renew otomatis pake cron certbot renew
… ga perlu manual. Indositehost kasih setup ini—ga usah takut kadaluarsa… situs tetep aman.
Kesimpulan
Pasang SSL di Apache gampang banget… Certbot, config, restart jadi langkah cepet. Indositehost kasih VPS Rp150 ribu—situs aman, ga ribet… mulai sekarang, bikin situs ngebut sama secure!