Press ESC to close

Hendri WidanantoHendri Widananto a Blogger with Autos enthusiast.

Cara Menginstall SSL di Hosting kamu dengan mudah

Halo teman-teman pembaca,

Hari ini saya baru saja memindahkan website ini dari Hosting lama ke Hosting yang baru yang memiliki performa lebih mumpuni, karena di hosting baru ini hanya menyediakan 1 SSL Gratis maka domain di Blog saya ini tidak kebagian SSL gratis.

Maka dari itu saya mencoba membeli SSL dari ssls.com yang kebetulan lagi promo dari 8 USD menjadi 5.5 USD saja.

SSL yang saya beli adalah SSL yang diterbitkan oleh Sectigo, jenisnya hanya Domain Validation (DV) SSL saja.

Seperti diketahui, ada 3 jenis SSL yakni Domain Validation (DV), Organization Validation (OV) dan Extended Validation (EV) dan karena ini hanya untuk kegunaan keamanan personal jadi pakai DV saja sudah cukup.

Untuk yang belum tahu, SSL (Secure Sockets Layer) adalah adalah protokol pengamanan sebuah website untuk meng-enskripsi sambungan antara browser dari user dan server website agar tercipta sambungan yang aman.

SSL diidentifikasikan browser oleh gembok warna hijau dengan url tambahan “s” atau https (hyper text transfer protocol secure). Jadi teman-teman mengakses situs ini dengan alamat https://www.hendri.my.id

Oke, selanjutnya mari pasang SSL di website kita.

Menginstal SSL dengan mudah

Pada basic-nya, setiap kita menginstall SSL yang kita butuhkan adalah informasi

  • Private Key
  • Certificate
  • CA-Bundle Certificate

Ketiganya dikeluarkan oleh issuer (penerbit SSL) dan di masukkan / di-instal ke server website.

Private key berisi informasi kunci pada domain yang akan di berikan pengamanan, seperti misalnya hendri.my.id, www.hendri.my.id. Kamu bisa meng Issue Private Key ini di server / panel kamu atau bisa juga di layanan SSL kamu beli. Contoh private key:

-----BEGIN PRIVATE KEY-----
MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQCjU+WyWJZSzuiv
pyif9723DLkES7yU8S+AAzZpd7irK8FQwA7nR3Tn6twU6y5gCXd1OEUDrjTD+ZgI
+EBCGTcc3BA+MDs9SctNw5RSTqGO/rS7htihMlFwuHDasI8s2uP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cFmziWyttul2I6bXHSLRNpZXVwaYeLIyQ6lU712zULxAoGAdo6a
lBTKdgIMLBDpZ9nJu8AweU8TrzJ6adsUtmOUIthvCrySko9Lo3xtztg71ZUVDC1o
+xxE86JVqrISzQR4hne3mrXMkie8LuDY9+6DDdJYT8njo73SFgYBMSj/DquYEaQk
vmfog/Ins73xGMlpVdezgFObygkQRDoHKzMWTkkCgYAdIcfwzz9LNP8T81r4fg5N
RQsQ+rI0StQf0H5IeBIIVRKOOcJmxpMcC0Q1qENwPhlYIyCS8Ak3YBzIRBLeW2Nw
T/4YyqwTpvUc7Z2JJHd7FdM3k67sRbBKYLqfsRV3wDfIdTx3YvZfWeG/vjM+A/+0
DBHB81SZcp2vey7JGHcwqg==
-----END PRIVATE KEY-----

Berikut contoh meng-generate / issue Private Key melalui layanan SSL.

Setelah Private Key ini diberikan / issue, Selanjutnya teman-teman akan mendapatkan dua sertifikat yakni CA (Certificate) dengan ekstensi .crt dan CA-Bundle dengan ekstensi .ca-bundle , biasanya dikirim via email atau di download di halaman yang sudah di sediakan.

Contoh Certificate (CRT).

-----BEGIN CERTIFICATE-----
MIIFuDCCBKCgAwIBAgIRAOMF3bTVcIApejCdsSf38xgwDQYJKoZIhvcNAQELBQAw
gY8xCzAJBgNVBAYTAkdCMRswGQYDVQQIExJHcmVhdGVyIE1hbmNoZXN0ZXIxEDAO
BgNVBAcTB1NhbGZvcmQxGDAWBgNVBAoTD1NlY3RpZ28gTGltaXRlZDE3MDUGA1UE
AxMuU2VjdGlnbyBSU0EgRG9tYWluIFZhbGlkYXRpb24gU2VjdXJlIFNlcnZlciBD
QTAeFw0yMTAxMjYwMDAwMDBaFw0yMjAxMjYyMzU5NTlaMBcxFTATBgNVBAMTDGhl
bmRyaS5teS5pZDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKNT5bJY
llLO6K+nKJ/3vbcMuQRLvJTxL4ADNml3uKsrwVDADudHdOfq3BTrLmAJd3U4RQOu
NMP5mAj4Q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Ome9Hg6jc8P2ULimAyrL58OAd7vn5lJ8S3frHRNG5i1R8XlKdH5kBjHYpy+g8cm
ez6KJcfA3Z3mNWgQIJ2P2N7Sw4ScDV7oL8kCAwEAAaOBwDCBvTAdBgNVHQ4EFgQU
oBEKIz6W8Qfs4q8p74Klf9AwpLQwDgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQF
MAMBAf8wewYDVR0fBHQwcjA4oDagNIYyaHR0cDovL2NybC5jb21vZG9jYS5jb20v
QUFBQ2VydGlmaWNhdGVTZXJ2aWNlcy5jcmwwNqA0oDKGMGh0dHA6Ly9jcmwuY29t
b2RvLm5ldC9BQUFDZXJ0aWZpY2F0ZVNlcnZpY2VzLmNybDANBgkqhkiG9w0BAQUF
AAOCAQEACFb8AvCb6P+k+tZ7xkSAzk/ExfYAWMymtrwUSWgEdujm7l3sAg9g1o1Q
GE8mTgHj5rCl7r+8dFRBv/38ErjHT1r0iWAFf2C3BUrz9vHCv8S5dIa2LX1rzNLz
Rt0vxuBqw8M0Ayx9lt1awg6nCpnBBYurDC/zXDrPbDdVCYfeU0BsWO/8tqtlbgT2
G9w84FoVxp7Z8VlIMCFlA2zs6SFz7JsDoeA3raAVGI/6ugLOpyypEBMs1OUIJqsi
l2D4kF501KKaU73yqWjgom7C12yxow+ev+to51byrvLjKzg6CYG1a4XXvi3tPxq3
smPi9WIsgtRqAEFQ8TmDn5XpNpaYbg==
-----END CERTIFICATE-----

Selanjutnya silahkan upload atau copy paste ketiga kode sertifikat tersebut ke panel hosting teman-teman, beberapa panel tidak mendukung upload sertifikat, teman-teman bisa mengcopy-paste kode dengan membuka file tadi .crt dan .ca-bundle dengan notepad.

SSL berhasil diinstal dengan sukses!

Hendri Widananto

Blogger kelahiran Wonogiri yang dibesarkan di kabupaten penuh pesona Gunungkidul, wira-wiri di Yogyakarta, bisa dihubungi melalui surel di mail@hendri.my.id

Tinggalkan Balasan

Alamat email Anda tidak akan dipublikasikan. Ruas yang wajib ditandai *