Skip to main content

Pembahasan Soal CA LKS Nasional ITNSA 2022

 Berikut adalah salah satu soal mengenai CA dan pembahasannya, silakan dicoba dan sesuikan dengan kondisi real sebenarnya pada saat kompetisi, karena mungkin di kota, provinsi atau soal nasional selanjutnya ada perubahan seperti kalimat, lokasi folder, nama server dan penamaan lainnya

Silakan sesuaikan nama file, nama domain, dll.

Certificate Authority 

● Configure MAIL as Root CA. 

1. openssl genrsa -out root.key 4096

○ Use Common Name: LKSN2022-Root 

2. openssl req -new -x509 -days 1826 -key root.key -out root.crt

○ Approve Intermediate CA Requests for MON1 and MON2.

Jawaban ada di perintah 4 dan 6

 ○ Save those two Intermediate CA certificate files without the key in directory /backup in MAIL server. 

Ini cukup kopikan file mon1.crt dan mon2.crt ke /backup


Bikin config untuk Intermediatte CA, bisa mencontoh di /etc/ssl/openssl.cnf juga.

Disini simple cukup membuat konfigurasi seperti dibawah ini buat file subca.cnf berisi:

[ req ]

extensions    = v3_subca

req_extensions    = v3_subca


[ v3_subca ]

basicConstraints  = CA:TRUE


● Configure MON1 as Intermediate CA Issuer. 

○ Use Common Name: LKSN2022-Intermediate-1 

3.  openssl genrsa -out mon1.key 4096

openssl req -new -key mon1.key -out mon1.csr

Penting isikan common name sesuai dengan perintah soal diatas

4. openssl x509 -extfile subca.conf -extensions v3_subca -req -days 1000 -in mon1.csr -CA RootCA.crt -CAkey RootCA.key -CAcreateserial -out mon1.crt



● Configure MON2 as Intermediate CA Issuer.

 ○ Use Common Name: LKSN2022-Intermediate-2 

5. openssl genrsa -out mon2.key 4096

openssl req -new -key mon2.key -out mon2.csr

Penting isikan common name sesuai dengan perintah soal diatas

6. openssl x509 -extfile subca.conf -extensions v3_subca -req -days 1000 -in mon2.csr -CA root.crt -CAkey root.key -CAcreateserial -out mon2.crt


● In any of the Intermediate CA, issue the certificates required for other services.

 ○ For record, place all generated certificates in /backup/certs in MAIL server.


7. Generate Server Key & Csr  for service like www, mail

Bikin balasan form dengan config berikut, isi file service.cnf:

[req]

default_bits = 4096

prompt = no

default_md = sha256

x509_extensions = req_ext

req_extensions = req_ext

distinguished_name = dn


[ dn ]

C=ID

ST=JKT

L=JKT

O=ITNSA

OU=ITNSA

emailAddress=me@itnsaskills.id

CN = *.itnsaskills.id


[ req_ext ]

subjectAltName = @alt_names


[ alt_names ]

DNS.1 = www

DNS.2 = www.itnsaskills.id



openssl genrsa -out service1.key 4096


openssl req -new -key service1.key -out service1.csr -config service.cnf


Check hasil


openssl req -in service1.csr -noout -text | grep DNS

output sesuai nama domain yg akan digunakan service       


Sign the CSR dengan intermediette/Sub CA dengan mon1.crt


openssl x509 -req -in service1.csr -CA mon1.crt -CAkey mon1.key -CAcreateserial -out service1.crt -days 730 -extensions 'req_ext' -extfile service.cnf



Tambahan upload ca dan intermediette CA ke client browser

cat root.crt > ca-bundle1.crt

>> tambahkan dibawah file diatas

cat mon1.crt >> ca-bundle1.crt


cat root.crt > ca.bundle2.crt

cat mon2.crt >> ca.bundle2.crt


Hasil ketika mengakses browser, klik icon gembok di sebelah url bar, klik certificate / secure connection







Sekian terima kasih

Good Luck









Terima kasih dan semoga bermanfaat



Comments

Popular posts from this blog

Soal dan pembahasan LKSN ITNSA

Berikut adalah koleksi soal-soal ITNSA dan beberapa website yang memberikan pembahasan pada event perlombaaan LKS SMK Nasional bidang lomba IT Network Systems Administration. 2014 Palembang Di tahun ini ada 1 soal packet tracer. Di website dibawah ini diberikan juga cara pembahasannya. https://agussas.wordpress.com/2015/04/02/review-soal-lks-nasional-it-network-23-packet-tracer-challenge/ Semua soal:  https://www.dropbox.com/sh/l90zyke2ib5msgv/AAA3kPOFo-zEn4wPOW4a3iMwa?dl=0 dan https://drive.google.com/file/d/18lDhtMjAnPAhkfOJ6uFHsC5j6ycg3K4I/view Pembahasan juga dalam bentuk video di youtube:  https://www.youtube.com/watch?v=8QML594nQBU 2015 Banten Pembahasan:   https://www.youtube.com/watch?v=quDbpC2xSfQ Soal:  https://drive.google.com/file/d/1B09IYfdoGENBL3txSQodpptG1zdQxBWI/view 2016 Malang Soal:   https://drive.google.com/file/d/13-2bRtb5IXO9vxAhLfhghZbDXeUzD0FI/view Pembahasan:   https://www.youtube.com/watch?v=zmUSUZguH24 20...

LKS SMK Cloud Computing

 Lomba Kompetensi Siswa SMK merupakan salah satu kegiatan rutin yang dilakukan tiap tahun, mulai dari tingkat kota/kabupaten sampai Internasional (Asean, WorldSkills Competiton). Untuk kali ini akan membahas salah satu bidang yang belum terlalu lama yaitu cloud computing, tentu dunia cloud computing sudah lama beredar, dan AWS salah satu leadernya, untuk kegiatan kompetisi lomba cloud computing ini mulai dirintis sejak 2017 di worldskills abu dhabi, saat itu masih dalam proses demo, hingga pada tahun 2019 menjadi salah satu bidang resmi di worlskills kazan. AWS sendiri sebetulnya punya kegiatan kompetisi sendiri juga seperti Hackathon dan AWS Gaming Day. Pada blogpost ini akan berusaha mencari informasi tentang cloud computing kompetisi khususnya LKS SMK seperti kisi-kisi. Berikut adalah kurasi link-link yang bermanfaat untuk belajar,  terima kasih juga pada penulis di website-website berikut:  Kisi-kisi LKS di salah satu Provinsi https://github.com/stmj-dev/Soal-Dan-Kisi...

Soal dan pembahasan LKS ITNSA Network Infrastructure Basic

Soal tahun 2021 tingkat Nasional Soal bisa di download di https://itnsa.id Basic Configuration Configure IP Address of all network devices according to the addressing table.  Create SSH user ‘patah’ with password specified in the appendix.  Make sure the user are able to enter configuration commands in the router.  Allow server admins to SSH to all network devices.  If you need to set additional password on the Routers, use Skills39 Look at the appendix table and configure accordingly Configure IP address: csr1000v# configure terminal #change interface name according to the topology csr1000v (config)# interface GigabitEthernet0 csr1000v (config-if)# ip address  x.x.x.x y.y.y.y csr1000v (config-if)# no shutdown Create SSH user: csr1000v# configure terminal csr1000v (config) # username patah password cisco123 csr1000v (config)# privilege 15 patah Allow server admins to SSH: csr1000v# configure terminal csr1000v (config)# ip access-list standard SSH_ACL csr10...