{"id":22104,"date":"2024-09-12T16:07:10","date_gmt":"2024-09-12T09:07:10","guid":{"rendered":"https:\/\/stei.itb.ac.id\/?p=22104"},"modified":"2024-09-12T16:07:10","modified_gmt":"2024-09-12T09:07:10","slug":"panduan-instalasi-ssl-certbot-untuk-vps","status":"publish","type":"post","link":"https:\/\/stei.itb.ac.id\/en\/panduan-instalasi-ssl-certbot-untuk-vps\/","title":{"rendered":"SSL Installation Guide (Certbot) for VPS"},"content":{"rendered":"

Before starting, make sure that the firewall on your VPS allows traffic on ports 80 and 443. If not, please contact DTI to request permission and have the firewall access opened.<\/p>\n

1. Access Your VPS<\/strong><\/h5>\n

a. Using Terminal (Linux & macOS)\nOpen a terminal and run the following command:<\/p>\n

\"\"<\/a><\/p>\n

Replace username with your VPS username and ip_address with your VPS IP address.<\/p>\n

b. Using PuTTY (Windows)\nOpen PuTTY and enter your VPS access details.<\/p>\n

\"\"<\/a><\/p>\n

Make sure the entered data\u2014Host Name, Port, Username, and Password\u2014matches your VPS credentials.<\/p>\n

2. Install Certbot<\/strong><\/h5>\n

a. Update the package list<\/p>\n

Before installing Certbot, update your system\u2019s package list by running:<\/p>\n

\"\"<\/a><\/p>\n

b. Install Certbot and the Apache plugin<\/p>\n

Certbot provides plugins to automate the creation and management of SSL certificates. Install Certbot and the Apache plugin with the following command:<\/p>\n

\"\"<\/a><\/p>\n

This will install Certbot along with the required plugin to integrate Certbot with Apache.<\/p>\n

3. Obtain an SSL Certificate<\/strong><\/h5>\n

a. Run Certbot<\/p>\n

To obtain an SSL certificate from Let\u2019s Encrypt, run:<\/p>\n

\"\"<\/a><\/p>\n

Follow the on-screen instructions:<\/p>\n