Using Service Profiles
A service profile describes the credential with which
a component of the Access Grid software should run. A service profile
can be generated from within the software. In CertificateManagement,
if you select a service certificate, you can select "Export
Service Profile" to generate a service profile file. Here's
a sample service profile file:
[ServiceProfile]
serviceType = BridgeService
cred = Cred
[Cred]
authType = x509
subject = /O=Access Grid/OU=agdev-ca.mcs.anl.gov/CN=BridgeService/munich.mcs.anl.gov
where the certificate is looked up in the certificate repository
by subject.
An alternate form of the service profile specifies the location
of the certificate and key files:
[ServiceProfile]
serviceType = VenueServer
cred = Cred
[Cred]
authType = x509
certfile = /path/to/cert.pem
keyfile = /path/to/key.pem
You can then start the venue server (or bridge server, etc.) with
a '--profile' argument, as follows:
VenueServer.py --profile VenueServer.profile
(VenueServer.profile must reside in ~/.AccessGrid/Services)
VenueServer.py --profile /path/to/VenueServer.profile
(explicit path to VenueServer.profile file) |