WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  WSadmin

    Posted Wed August 11, 2010 10:37 AM
    WSadmin

    --------------------------------

    Hello ,

    I am new to WS admin,

    i am in the process of finding the expire date of a SSL Certificate which is installed on WebSpere. i can see the certificate through the admin console under the fallowing path

    SSL certificate and key management > Key stores and certificates > CellDefaultTrustStore > Signer certificates

    requesting to let me know how to find the same using the WSAdmin.

    Thanks
    Nag

    --------------------------------

    Posted By: nagendramv at Jul 31 2009 6:56AM


  • 2.  WSadmin

    Posted Wed August 11, 2010 10:45 AM
    Try this.

    AdminTask.listSignerCertificates('[-keyStoreName CellDefaultKeyStore -keyStoreScope (cell):cellName ]')
    AdminTask.listSignerCertificates('[-keyStoreName CellDefaultTrustStore -keyStoreScope (cell):cellName ]')


    Anant

    --------------------------------

    Posted By: infyniti at Jul 31 2009 4:45PM


  • 3.  WSadmin

    Posted Wed August 11, 2010 10:55 AM
    WSAdmin

    --------------------------------

    WASX7015E: Exception running command: /"AdminTask.listSignerCertificates('[-keyStoreName CellDefaultKeyStore -keyStoreScope (cell):cell_ND_CELL ]')/"; exception information:
    com.ibm.bsf.BSFException: exception from Jython:
    Traceback (innermost last):
    File /"/", line 1, in ?



    java.lang.NullPointerException: java.lang.NullPointerException


    i just did the copy paste and replaced the cell name.
    Requesting to plz guide

    --------------------------------

    Posted By: nagendramv at Aug 3 2009 7:38AM