Topic
7 replies Latest Post - ‏2015-01-05T21:47:58Z by HermannSW
Ronenbe
Ronenbe
24 Posts
ACCEPTED ANSWER

Pinned topic How to get cert details using SOMA

‏2013-07-09T09:01:30Z |

Hi

I need to get the crypto certificate filename details ( like serial number, Issuer, Subject etc) from different domain.

I am using  dp:get-cert-details stylesheet function but it is not useful when the crypto certificate object is in other domain

Is there a way to get certificate details using soma?

Is there any other way to implement this?

 

Regards 

Ronen

  • HermannSW
    HermannSW
    4156 Posts
    ACCEPTED ANSWER

    Re: How to get cert details using SOMA

    ‏2013-07-09T14:26:53Z  in response to Ronenbe

    The easiest would be to create a new service in the other domain,

    listening on 127.0.0.1 interface and using  dp:get-cert-details() in stylesheet to get the details you need.

     

    Hermann<myXsltBlog/> <myXsltTweets/> <myCE/>

  • swlinn
    swlinn
    1344 Posts
    ACCEPTED ANSWER

    Re: How to get cert details using SOMA

    ‏2013-07-09T14:28:26Z  in response to Ronenbe

    Hi Ronen,

    I'm not aware of any SOMA mechanism to do this.  Perhaps you should submit an RFE to get this capability into the product.  All I can think of for you to do today is to have a service in the target domain that gets the information via get-cert-details, and you can issue a http://127.0.0.1:<serviceport> GET request from the source domain to get the information from that service. 

    Regards,

    Steve

    • PradeepMalineni
      PradeepMalineni
      31 Posts
      ACCEPTED ANSWER

      Re: How to get cert details using SOMA

      ‏2013-07-10T05:02:32Z  in response to swlinn

      I have created the RFE could you share the below link to vote for the RFE.

      http://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=36931

       

      Thanks,

      Pradeep Malineni

      • RubenRandall
        RubenRandall
        85 Posts
        ACCEPTED ANSWER

        Re: How to get cert details using SOMA

        ‏2013-07-14T05:58:34Z  in response to PradeepMalineni

        Hi Pradeep,

         

        I am also looking for a same requirement, I have voted for the RFE could you please let me know if you have any other solution

        It is a big challenge for me to create a service in each domain for this purpose, A soma request would make my life easier.

         

        Thanks,

        Ruben

        • HermannSW
          HermannSW
          4156 Posts
          ACCEPTED ANSWER

          Re: How to get cert details using SOMA

          ‏2013-07-14T12:14:52Z  in response to RubenRandall

          Hi Ruben,

          SOMA request will only be possible AFTER RFE has been accepted and AFTER it has been implemented and shipped -- this will take time.

          > It is a big challenge for me to create a service in each domain for this purpose,
          >
          What about the fllowing idea?

          • create a service allowing all you want for the certs in a specific domain
          • test the service
          • disable it (in Objects screen)
          • export that service
          • import that service into every domain you are interested

          By that procedure you have "the same" disabled service in every domain.

          For executing a service in domain "domN", send three requests:

          1. SOMA request enabling the service in domain "domN"
          2. request against now active service and retrieve all the results you want
          3. SOMA request disabling the service in domain "domN"

          By having at most one service enabled at a time by this procedure this allows all services (in fact many incarnations of one service) to share same FSH across application domains.

          I just tested it by disabling my "coproc2" service, exporting after apply, importing that export into two new app domians -- works fine!



          Hermann<myXsltBlog/> <myXsltTweets/> <myCE/>

          Updated on 2013-07-14T12:19:29Z at 2013-07-14T12:19:29Z by HermannSW