Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Warning
titleCAVEAT

To be able to submit jobs using the SSL authentication, your x509UserProxyFQAN x509 User Proxy FQAN must be mapped in the CE configuration.
You will need to send your x509UserProxyFQAN to the support team via via the user-support@lists.cnaf.infn.it

The attribute can be recovered in different ways:

after you have a valid proxy you can retreive it with

mailing list the output of the voms-proxy-info --all --chain  corresponding to a valid voms proxy:

Code Block
themeMidnight
apascolinit1@ui
budda@ui-tier1
:~
 $ voms-proxy-info --all
subject : /DC=ch/DC=cern/OU=Organic Units/OU=Users/CN=apascoli/CN=842035/CN=Alessandro Pascolini/CN=1239012205 issuer : /DC=ch/DC=cern/OU=Organic Units/OU=Users/CN=apascoli/CN=842035/CN=Alessandro Pascolini identity : /DC=ch/DC=cern/OU=Organic Units/OU=Users/CN=apascoli/CN=842035/CN=Alessandro Pascolini type : RFC3820 compliant impersonation proxy strength : 2048 path : /tmp/x509up_u23077 timeleft : 11:59:53 key usage : Digital Signature, Key Encipherment === VO cms extension information === VO : cms subject : /DC=ch/DC=cern/OU=Organic Units/OU=Users/CN=apascoli/CN=842035/CN=Alessandro Pascolini issuer : /DC=ch/DC=cern/OU=computers/CN=lcg-voms2.cern.ch attribute : /cms/Role=production/Capability=NULL attribute : /cms/Role=NULL/Capability=NULL timeleft : 11:59:52 uri : lcg-voms2.cern.ch:15002the x509UserProxyFQAN will be composed by "<subject>,<attribute1>,<attribute2>...", in this case:
Code Block
themeMidnight
x509UserProxyFQAN = "/DC=ch/DC=cern/OU=Organic Units/OU=Users/CN=apascoli/CN=842035/CN=Alessandro Pascolini,/cms/Role=production/Capability=NULL,/cms/Role=NULL/Capability=NULL"
  • if you already have running jobs submitted with GSI auth you can get the x509UserProxyFQAN attribute with:
    Code Block
    languagebash
    themeMidnight
    apascolinit1@ui-tier1 ~
    $ condor_q -pool ce02-htc.cr.cnaf.infn.it:9619 -n ce02-htc.cr.cnaf.infn.it <job_id> -af x509UserProxyFQAN
    /DC=ch/DC=cern/OU=Organic Units/OU=Users/CN=apascoli/CN=842035/CN=Alessandro Pascolini,/cms/Role=NULL/Capability=NULL
  • In case your x509UserProxyFQAN hasn't been mapped into the CE configuration you will be shown the following error:

    Code Block
    languagebash
    themeMidnight
    apascolinit1@ui-tier1 ~
    $ condor_submit -pool ce01-htc.cr.cnaf.infn.it:9619 -remote ce01-htc.cr.cnaf.infn.it submit_ssl.sub
    
    ERROR: Can't find address of schedd ce01-htc.cr.cnaf.infn.it
     --chain
    === Proxy Chain Information ===
    X.509 v3 certificate
    Subject: CN=1569994718,CN=Carmelo Pellegrino cpellegr@infn.it,O=Istituto Nazionale di Fisica Nucleare,C=IT,DC=tcs,DC=terena,DC=org
    Issuer: CN=Carmelo Pellegrino cpellegr@infn.it,O=Istituto Nazionale di Fisica Nucleare,C=IT,DC=tcs,DC=terena,DC=org
    Valid from: Tue Apr 09 16:18:41 CEST 2024
    Valid to: Wed Apr 10 04:18:41 CEST 2024
    CA: false
    Signature alg: SHA384WITHRSA
    Public key type: RSA 2048bit
    Allowed usage: digitalSignature keyEncipherment
    Serial number: 1569994718
    VOMS extensions: yes.
    
    X.509 v3 certificate
    Subject: CN=Carmelo Pellegrino cpellegr@infn.it,O=Istituto Nazionale di Fisica Nucleare,C=IT,DC=tcs,DC=terena,DC=org
    Issuer: CN=GEANT TCS Authentication RSA CA 4B,O=GEANT Vereniging,C=NL
    Valid from: Mon Oct 16 12:57:40 CEST 2023
    Valid to: Thu Nov 14 11:57:40 CET 2024
    Subject alternative names:
      email: carmelo.pellegrino@cnaf.infn.it
    CA: false
    Signature alg: SHA384WITHRSA
    Public key type: RSA 8192bit
    Allowed usage: digitalSignature keyEncipherment
    Allowed extended usage: clientAuth emailProtection
    Serial number: 73237961961532056736463686571865333148
    
    === Proxy Information ===
    subject   : /DC=org/DC=terena/DC=tcs/C=IT/O=Istituto Nazionale di Fisica Nucleare/CN=Carmelo Pellegrino cpellegr@infn.it/CN=1569994718
    issuer    : /DC=org/DC=terena/DC=tcs/C=IT/O=Istituto Nazionale di Fisica Nucleare/CN=Carmelo Pellegrino cpellegr@infn.it
    identity  : /DC=org/DC=terena/DC=tcs/C=IT/O=Istituto Nazionale di Fisica Nucleare/CN=Carmelo Pellegrino cpellegr@infn.it
    type      : RFC3820 compliant impersonation proxy
    strength  : 2048
    path      : /tmp/x509up_u23069
    timeleft  : 00:00:00
    key usage : Digital Signature, Key Encipherment
    === VO km3net.org extension information ===
    VO        : km3net.org
    subject   : /DC=org/DC=terena/DC=tcs/C=IT/O=Istituto Nazionale di Fisica Nucleare/CN=Carmelo Pellegrino cpellegr@infn.it
    issuer    : /DC=org/DC=terena/DC=tcs/C=IT/ST=Napoli/O=Universita degli Studi di Napoli FEDERICO II/CN=voms02.scope.unina.it
    attribute : /km3net.org/Role=NULL/Capability=NULL
    timeleft  : 00:00:00
    uri       : voms02.scope.unina.it:15005


    1. Get a proxy with Get a proxy with voms-proxy-init
      Code Block
      languagebash
      themeMidnight
      apascolinit1@ui-tier1 ~
      $ voms-proxy-init --voms cms
      Enter GRID pass phrase for this identity:
      Contacting voms2.cern.ch:15002 [/DC=ch/DC=cern/OU=computers/CN=voms2.cern.ch] "cms"...
      Remote VOMS server contacted succesfully.
      
      
      Created proxy in /tmp/x509up_u23077.
      
      Your proxy is valid until Tue Mar 19 22:39:41 CET 2024
    2. Submit a job to the CE
      Code Block
      languagebash
      themeMidnight
      titleSubmit file
      apascolinit1@ui-tier1 ~
      $ cat submit_ssl.sub
      # Unix submit description file
      # subimt.sub -- simple sleep job
      
      use_x509userproxy       = true
      +owner                  = undefined
      
      batch_name              = Grid-SSL-Sleep
      executable              = sleep.sh
      arguments               = 3600
      log                     = $(batch_name).log.$(Process)
      output                  = $(batch_name).out.$(Process)
      error                   = $(batch_name).err.$(Process)
      should_transfer_files   = Yes
      when_to_transfer_output = ON_EXIT
      
      queue

      Code Block
      languagebash
      themeMidnight
      titleSubmit a job with SSL
      apascolinit1@ui-tier1 ~
      $ module switch htc/ce auth=SSL num=1
      Don't forget to voms-proxy-init!
      
      apascolinit1@ui-tier1 ~
      $ condor_submit submit_ssl.sub
      Submitting job(s).
      1 job(s) submitted to cluster 36.
      
      apascolinit1@ui-tier1 ~
      $ condor_q
      
      
      -- Schedd: ce01-htc.cr.cnaf.infn.it : <131.154.193.64:9619?... @ 03/19/24 10:45:18
      OWNER      BATCH_NAME        SUBMITTED   DONE   RUN    IDLE  TOTAL JOB_IDS
      apascolini Grid-SSL-Sleep   3/19 10:44      _      1      _      1 36.0
      
      Total for query: 1 jobs; 0 completed, 0 removed, 0 idle, 1 running, 0 held, 0 suspended
      Total for apascolini: 1 jobs; 0 completed, 0 removed, 0 idle, 1 running, 0 held, 0 suspended
      Total for all users: 2 jobs; 1 completed, 0 removed, 0 idle, 1 running, 0 held, 0 suspended

    ...