DEV Community

Cover image for Panduan Instalasi Cert di Windows dan Macos
devajie
devajie

Posted on

Panduan Instalasi Cert di Windows dan Macos

Panduan Install Sertifikat di Windows

A. Install Sertifikat CRT / CER (Root CA / Intermediate)

Double-click file sertifikat (.crt / .cer)
Klik Install Certificate
Pilih:
Local Machine → untuk semua user (recommended)
Current User → hanya user aktif
Pilih Place all certificates in the following store
Pilih store:
Trusted Root Certification Authorities → Root CA
Intermediate Certification Authorities → Intermediate CA
Klik Finish
Pastikan muncul pesan “The import was successful”

Catatan penting
Root CA HARUS masuk ke Trusted Root Certification Authorities
Kalau salah store → sertifikat tetap dianggap tidak valid

Panduan Install Sertifikat di macOS

A. Install Sertifikat CRT / CER
Double-click file sertifikat
Akan terbuka Keychain Access
Pilih keychain:
System → untuk semua user (recommended)
Login → user aktif
Sertifikat akan muncul di daftar

B. Set Sertifikat Jadi Trusted (WAJIB untuk Root CA)
Buka Keychain Access
Klik sertifikat → Get Info
Expand Trust
Set:
When using this certificate: Always Trust
Tutup → masukkan password macOS
Status sertifikat berubah biru (+)
Tanpa langkah ini, macOS tetap menganggap sertifikat tidak valid

Testing Setelah Install di MacOS

Buka browser → akses HTTPS internal
Pastikan:
Hijau
Tidak ada error:
NET::ERR_CERT_AUTHORITY_INVALID
Certificate not trusted

Top comments (0)