KENDALA
CORE
Perbarui Catatan
Sesuaikan rincian informasi data kendala atau perbaiki instruksi pemecahan masalah.
Jenis Kategori
Server
Database
Aplikasi
Jaringan
Hardware
Recording
cloud
Security
Tugas-pagi
Nama / Judul Kendala
Uraian Masalah / Kode Error
catatan tentang ssl expaired dan mendaftarkan ssl
Langkah Pemecahan Masalah (Problem Solving)
buka ssh load balance 172.16.70.98
jalankan ini:
certbot --nginx -d helpdesk.simgroup.co.id (untuk mendaftarkan ssl, nama nya disesuaikan aja sesuai kebutuhan)
certbot --force-renewal --nginx -d kardex-bicara.simgroup.co.id (untuk perbarui ssl, nama nya disesuaikan aja jika ada yg sudah expaired)
lalu ambil filenya disini sesuai dengan nama nya
/etc/letsencrypt/live/
lalu kita ambil file:
-fullchain.pem
-privkey.pem
file ini untuk di upload di alibaba nya
contoh script live ssh:
root@load-balance:~# certbot --force-renewal --nginx -d helpdesk.simgroup.co.id
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator nginx, Installer nginx
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for helpdesk.simgroup.co.id
Waiting for verification...
Cleaning up challenges
Deploying Certificate to VirtualHost /etc/nginx/conf.d/helpdesk.simgroup.co.id.conf
Please choose whether or not to redirect HTTP traffic to HTTPS, removing HTTP access.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1: No redirect - Make no further changes to the webserver configuration.
2: Redirect - Make all requests redirect to secure HTTPS access. Choose this for
new sites, or if you're confident your site works on HTTPS. You can undo this
change by editing your web server's configuration.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Select the appropriate number [1-2] then [enter] (press 'c' to cancel): 2
Traffic on port 80 already redirecting to ssl in /etc/nginx/conf.d/helpdesk.simgroup.co.id.conf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Your existing certificate has been successfully renewed, and the new certificate
has been installed.
The new certificate covers the following domains:
https://helpdesk.simgroup.co.id
You should test your configuration at:
https://www.ssllabs.com/ssltest/analyze.html?d=helpdesk.simgroup.co.id
Batal
Update Catatan