#!/bin/bash x509=/tmp/x509up_u`id -u` pkcs12=/tmp/pkcs12up_u`id -u` tmp=`mktemp -p /tmp` umask 0077 grid-proxy-init -rfc -out ${tmp} openssl pkcs12 -export -nodes -in ${tmp} -passout pass: -out ${pkcs12} rm -f ${tmp}