CKA Course - Security Admin user Certificate command not working

Hi Team,

I was trying to execute admin user certificate from “Security” module (Course title: TLS in Kubernetes: Certificate creation) where below command is throwing an error: (I am running as non-root user)
$ openssl x509 -req -in admin.csr -CA ca.crt -CAkey ca.key -out admin.crt
ca.srl no such file or directory

This was resolved only after introuducing flag -CAcreateserial
$ openssl x509 -req -in admin.csr -CA ca.crt -CAkey ca.key -CAcreateserial -out admin.crt

Best Regards,
Dhruv

Great!
Thanks for sharing your experience.