pki related shell scripts