1VOMS::Lite(3) User Contributed Perl Documentation VOMS::Lite(3)
2
3
4
6 VOMS::Lite - Perl extension for VOMS Attribute certificate creation
7
9 use VOMS::Lite qw( Issue );;
10 my $ref=VOMS::Lite::Issue( \@certs, $ReqAttribs );
11 my %hash=%$ref;
12 my $derAC=%hash{AC};
13 my @errors=%hash{Errors};
14 my @warnings=%hash{Warnings};
15 my @attributes=%hash{Attribs};
16 my @targets=%hash{Targets};
17
19 VOMS::Lite Provides an Issue routine which reads a configuration file
20 in $ENV{'VOMS_CONFIG_FILE'} or else (if root)
21 /etc/grid-security/voms.config, or else ~/.grid-security/voms.conf.
22
23 Active lines in the config file must have the form:
24 ^\s*([a-zA-Z0-9_-]+)\s*=\s*(.+?)\s*$ i.e.
25 $1 = $2 This will set values in the %conf hash (which is exported).
26
27 CertDir = Path to Trusted CAs
28 VOMSCert = Path to VOMS Issuing Certificate
29 VOMSKey = Path to VOMS Issuing Key
30 AttribType = (Database|GridMap)
31 DBHost=fqdn.of.database.host \
32 DBPort=port.of.database.host }
33 DBUser=username }- If AttribType=Database
34 DBPass=password }
35 DBMapping_N=vo.full.name DBNAME / - where N is [0-9]+ and unique
36 Lifetime = Lifetime of AC in seconds
37 Server = FQDN of VOMS server (used in AC itself)
38 Port = Port of VOMS server (used in AC itself)
39
40 If AttribType=GridMap is specified then the files
41 ~/.grid-security/grid-mapfile.d/VOname or
42 /etc/grid-security/grid-mapfile.d/VOname must exist. VOMS::Lite
43 supports any number of VOs specified this way. The format of a VOMS
44 grid-mapfile is similar to the Globus grid-mapfile:
45
46 "/Slash/delimited/DN/of/EEC" Group(, OtherGroup)*(, Role=role)*(,
47 Capability=capability)* ...
48
49 EXPORT
50 %conf by default. Issue if specified.
51
53 VOMS::Lite::AC
54
55 RFC3281 and the VOMS Attribute Specification document from the OGSA
56 Athuz Working Group of the Open Grid Forum http://www.ogf.org. Also
57 see gLite from the EGEE.
58
59 This module was originally designed for the SHEBANGS project at The
60 University of Manchester.
61 http://www.mc.manchester.ac.uk/projects/shebangs/
62
63 now http://www.rcs.manchester.ac.uk/projects/shebangs/
64
65 Mailing list, shebangs@listserv.manchester.ac.uk
66
67 Mailing list, voms-lite@listserv.manchester.ac.uk
68
70 Mike Jones <mike.jones@manchester.ac.uk>
71
73 Copyright (C) 2006 by Mike Jones
74
75 This library is free software; you can redistribute it and/or modify it
76 under the same terms as Perl itself, either Perl version 5.8.3 or, at
77 your option, any later version of Perl 5 you may have available.
78
79
80
81perl v5.32.0 2020-07-28 VOMS::Lite(3)