<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.wiki.yohanessugiarto.id/index.php?action=history&amp;feed=atom&amp;title=Instalasi_SSL_Gratis_%28Let%27s_Encrypt%29_di_Apache</id>
	<title>Instalasi SSL Gratis (Let&#039;s Encrypt) di Apache - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.wiki.yohanessugiarto.id/index.php?action=history&amp;feed=atom&amp;title=Instalasi_SSL_Gratis_%28Let%27s_Encrypt%29_di_Apache"/>
	<link rel="alternate" type="text/html" href="https://www.wiki.yohanessugiarto.id/index.php?title=Instalasi_SSL_Gratis_(Let%27s_Encrypt)_di_Apache&amp;action=history"/>
	<updated>2026-11-15T12:30:29Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.2</generator>
	<entry>
		<id>https://www.wiki.yohanessugiarto.id/index.php?title=Instalasi_SSL_Gratis_(Let%27s_Encrypt)_di_Apache&amp;diff=40&amp;oldid=prev</id>
		<title>Yohanessugiarto: Protected &quot;Instalasi SSL Gratis (Let&#039;s Encrypt) di Apache&quot; ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))</title>
		<link rel="alternate" type="text/html" href="https://www.wiki.yohanessugiarto.id/index.php?title=Instalasi_SSL_Gratis_(Let%27s_Encrypt)_di_Apache&amp;diff=40&amp;oldid=prev"/>
		<updated>2026-10-31T21:07:42Z</updated>

		<summary type="html">&lt;p&gt;Protected &amp;quot;&lt;a href=&quot;/index.php/Instalasi_SSL_Gratis_(Let%27s_Encrypt)_di_Apache&quot; title=&quot;Instalasi SSL Gratis (Let&amp;#039;s Encrypt) di Apache&quot;&gt;Instalasi SSL Gratis (Let&amp;#039;s Encrypt) di Apache&lt;/a&gt;&amp;quot; ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:07, 31 October 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Yohanessugiarto</name></author>
	</entry>
	<entry>
		<id>https://www.wiki.yohanessugiarto.id/index.php?title=Instalasi_SSL_Gratis_(Let%27s_Encrypt)_di_Apache&amp;diff=39&amp;oldid=prev</id>
		<title>Yohanessugiarto: Created page with &quot;__NOTOC__  = Panduan Instalasi SSL Gratis (Let&#039;s Encrypt) di Apache VPS =  Panduan lengkap langkah demi langkah untuk mengamankan lalu lintas data web server dengan sertifikat **SSL/TLS HTTPS gratis** menggunakan **Let&#039;s Encrypt** dan **Certbot** pada VPS Debian 13 (`vps.yohanessugiarto.id`).  == 1. Prasyarat Sebelum Instalasi ==  Sebelum memasang SSL, pastikan syarat berikut sudah terpenuhi: 1. **Domain Aktif:** Domain / subdomain (misal: `vps.yohanessugiarto.id`) sudah...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.wiki.yohanessugiarto.id/index.php?title=Instalasi_SSL_Gratis_(Let%27s_Encrypt)_di_Apache&amp;diff=39&amp;oldid=prev"/>
		<updated>2026-10-31T21:07:32Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;__NOTOC__  = Panduan Instalasi SSL Gratis (Let&amp;#039;s Encrypt) di Apache VPS =  Panduan lengkap langkah demi langkah untuk mengamankan lalu lintas data web server dengan sertifikat **SSL/TLS HTTPS gratis** menggunakan **Let&amp;#039;s Encrypt** dan **Certbot** pada VPS Debian 13 (`vps.yohanessugiarto.id`).  == 1. Prasyarat Sebelum Instalasi ==  Sebelum memasang SSL, pastikan syarat berikut sudah terpenuhi: 1. **Domain Aktif:** Domain / subdomain (misal: `vps.yohanessugiarto.id`) sudah...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOTOC__&lt;br /&gt;
&lt;br /&gt;
= Panduan Instalasi SSL Gratis (Let&amp;#039;s Encrypt) di Apache VPS =&lt;br /&gt;
&lt;br /&gt;
Panduan lengkap langkah demi langkah untuk mengamankan lalu lintas data web server dengan sertifikat **SSL/TLS HTTPS gratis** menggunakan **Let&amp;#039;s Encrypt** dan **Certbot** pada VPS Debian 13 (`vps.yohanessugiarto.id`).&lt;br /&gt;
&lt;br /&gt;
== 1. Prasyarat Sebelum Instalasi ==&lt;br /&gt;
&lt;br /&gt;
Sebelum memasang SSL, pastikan syarat berikut sudah terpenuhi:&lt;br /&gt;
1. **Domain Aktif:** Domain / subdomain (misal: `vps.yohanessugiarto.id`) sudah terhubung (A Record) ke IP VPS `31.58.59.156`.&lt;br /&gt;
2. **Virtual Host Aktif:** Virtual Host Apache untuk domain tersebut sudah dikonfigurasi dan berjalan di port 80 (HTTP).&lt;br /&gt;
3. **Firewall Open:** Port 80 (HTTP) dan Port 443 (HTTPS) sudah diizinkan di UFW Firewall:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo ufw allow &amp;#039;Apache Full&amp;#039;&lt;br /&gt;
sudo ufw reload&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 2. Langkah 1: Instalasi Certbot &amp;amp; Modul Apache ==&lt;br /&gt;
&lt;br /&gt;
Perbarui indeks paket sistem dan install Certbot beserta plugin khusus Apache:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt update&lt;br /&gt;
sudo apt install certbot python3-certbot-apache -y&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Langkah 2: Pemasangan Sertifikat SSL ==&lt;br /&gt;
&lt;br /&gt;
Jalankan perintah pengajuan sertifikat SSL otomatis untuk Virtual Host Apache:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo certbot --apache -d vps.yohanessugiarto.id&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Jika ingin sekaligus memasang SSL untuk subdomain `www`:&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo certbot --apache -d vps.yohanessugiarto.id -d www.vps.yohanessugiarto.id&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Proses Interaktif Certbot: ===&lt;br /&gt;
1. **Email Address:** Masukkan alamat email aktif (misal: `admin@yohanessugiarto.id`) untuk notifikasi pembaruan sertifikat.&lt;br /&gt;
2. **Terms of Service:** Ketik &amp;lt;code&amp;gt;Y&amp;lt;/code&amp;gt; lalu tekan Enter untuk menyetujui ketentuan Let&amp;#039;s Encrypt.&lt;br /&gt;
3. **Share Email:** Ketik &amp;lt;code&amp;gt;N&amp;lt;/code&amp;gt; jika tidak ingin membagikan email ke pihak EFF.&lt;br /&gt;
4. **HTTP to HTTPS Redirect:** Jika Certbot bertanya opsi pengalihan, pilih opsi **Redirect** (otomatis mengalihkan semua lalu lintas HTTP `http://` ke HTTPS `https://`).&lt;br /&gt;
&lt;br /&gt;
== 4. Langkah 3: Verifikasi Auto-Renewal (Pembaruan Otomatis) ==&lt;br /&gt;
&lt;br /&gt;
Sertifikat SSL Let&amp;#039;s Encrypt berlaku selama **90 hari**. Certbot akan secara otomatis memperbaruinya sebelum masa berlaku habis via systemd timer / cron job.&lt;br /&gt;
&lt;br /&gt;
Untuk menguji apakah proses pembaruan otomatis berjalan lancar tanpa error, jalankan tes simulasi (*dry-run*):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo certbot renew --dry-run&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Jika output menampilkan pesan &amp;lt;code&amp;gt;Congratulations, all simulated renewals succeeded&amp;lt;/code&amp;gt;, berarti fitur pembaruan otomatis sudah siap!&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== 5. Langkah 4: Pengujian Akses HTTPS ==&lt;br /&gt;
&lt;br /&gt;
Buka browser dan akses alamat VPS Bos menggunakan protokol HTTPS:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;https://vps.yohanessugiarto.id&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Pastikan tanda ikon **gembok terkunci** sudah muncul di sebelah kiri URL di browser.&lt;br /&gt;
&lt;br /&gt;
== 6. Ringkasan Perintah Penting Certbot ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 100%;&amp;quot;&lt;br /&gt;
! Perintah !! Fungsi&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;sudo certbot --apache -d domain.com&amp;lt;/code&amp;gt; || Install SSL baru pada Virtual Host Apache.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;sudo certbot certificates&amp;lt;/code&amp;gt; || Cek daftar sertifikat SSL yang terinstall beserta sisa masa berlakunya.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;sudo certbot renew --dry-run&amp;lt;/code&amp;gt; || Tes simulasi pembaruan otomatis sertifikat SSL.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;sudo certbot delete&amp;lt;/code&amp;gt; || Menghapus sertifikat SSL tertentu dari server.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Category:Linux Admin]]&lt;br /&gt;
[[Category:Networking]]&lt;br /&gt;
[[Category:Tutorial]]&lt;/div&gt;</summary>
		<author><name>Yohanessugiarto</name></author>
	</entry>
</feed>