/[pdpsoft]/trunk/egi-pilot/onlineCA/DS/ansible/roles/cafrontend/templates/myproxy-certificate-mapapp.j2
ViewVC logotype

Contents of /trunk/egi-pilot/onlineCA/DS/ansible/roles/cafrontend/templates/myproxy-certificate-mapapp.j2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3177 - (show annotations) (download)
Thu Mar 30 15:20:05 2017 UTC (5 years, 1 month ago) by msalle
File size: 248 byte(s)
Strip email=... part from username, it would get too long and should (if
anywhere) just appear as SAN, except that we don't use those in the test CA.

1 #!/bin/sh
2 username=$1
3 if [ -z "$username" ]; then
4 # no username given
5 echo "No username given" >&2
6 exit 1
7 fi
8 # DN must match the signing policy for your CA.
9 echo "/O={{ myproxy_ca_o }}/OU={{ myproxy_ca_ou }}${username/ email=*}"
10 exit 0

grid.support@nikhef.nl
ViewVC Help
Powered by ViewVC 1.1.28