tools: k3_get_x509 cert: Add a script to generate x509 certificate for K3 devices