How to get a CA certificate installed in the web trust db from java servlet

Hi all.
Hi, I have a web-app that requires a client certificate from a CA. The CA cert is in the trust db of the webserver. And I would like to get the CA certificate (X509Certificate) corresponding to the issuer of the current client certificate of the request. Is there an easy way of doing this from a java servlet?
I'm using Sun Java System Web Server 6.1
Thanks in advance.

Hi, thanks for your quick answer.
I have to check the client certificate revocation status using ocsp protocol. I'm cheking ogro project ocsp library (http://dev.globus.org/wiki/Incubator/OGRO) to check this status against my CA validator agency. In order to use this library in my servlet to check the status I need both the client cert and the issuer cert. So that is why I need to get the CA cert from my trust db.
There is another way, I have the cert as file (the same I used to import the CA cert in my trust db), and I get the cert from the file. With this cert and the cert from the client I do the ocsp request and it works. But I trying to avoid having the CA cert in a file and recover the cert from the trust db.
Thanks

Similar Messages

  • How to get a form parameter and refresh the web web page itself?

    I thought its easy as a piece of cake. But what I found out is that somehow it is getting the parameter after the web page is refreshed!
    Any advice is greatly appreciated. Thanks!
    for navigation method
       //navigation method
        public Object refresh()
            return Navigation.HOME;
        }for web page
    <h:commandLink value="Regenerate resutls"  action="#{bean.refresh}">
                       <f:param name="algorithm" value="#{HomeMBean.algorithm}"/>
                    </h:commandLink>

    What I am trying to say here is:
    for a web page, I want to refresh the web page based on a parameter chosen by users,
    In web page:
    <h:commandLink value="Regenerate resutls"  action="#{bean.refresh}">
                <f:param name="algorithm" value="#{HomeMBean.algorithm}"/>
    </h:commandLink>in managed bean:
        //navigation method
        public Object refresh()
            return Navigation.HOME;
        }also in managed bean:
    String algorithm = FacesContext.getCurrentInstance().
    getExternalContext().getRequestParameterMap().get("algorithm");
            logger.debug("parameter="+algorithm);What I observed is I will never get the parameter "algorithm" before the web page is refreshed. In other words, the method setAlgorithm() is always called after the web page is rendered.
    I in fact want to render the web page based on the parameter "algorithm".
    I spent quite a lot time on it but can't figure out why.
    My guess is for managed beans, I can't rely on one property to generate another property, is that right?
    How should I solve this problem? Thanks a million!

  • Help - How to get our PF keys working on the web?

    We just successfully built a 9iAS server on a W2K platform - it was quick, easy and works perfectly with simple FORMS. However, the main FORM product we want to move from client/server to the web uses function keys -i.e F8, and these just don't function in the web environment. We've checked all the documention, even ghoing back to OAS and WebDB manuals, with no luck.
    Apparently we've missed something in the 9iAS setup, or need something else on the client. THe clients run IE5.x, with the latest Microsoft VM package that shows Java COnsole.
    Any help would be greatly appreciated.
    Thanks,
    Richard Staron

    look for FMRWEB.RES in your server is the key definition file for WEBFORMS

  • How to get list of software installed in a system

    How to get list of softwares installed in a system?. should i use registry to get information or control panel?
    is there any package available for this? how should i start with/
    thanks

    How to get list of softwares installed in a system?.Using native code, if at all.
    should i use registry to get information or control panel?Linux has neither.
    is there any package available for this? how should i start with/ Learn the Windows API or Google for some native tool.

  • How to get list of software installed

    How to get list of softwares installed in a system?. should i use registry to get information or control panel?
    is there any package available for this? how should i start with/
    thanks

    Obviously U need to use registry in this case if u want to get information about installed softwares in your Computer (WINDOWS os specific)...
    U might have to use JNI in this case & try to get all the subkeys listed under the key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Management\ARPCache"
    or
    "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall"
    REF: http://mindprod.com/jgloss/registry.html
    & in order to access WINDOWS registry U make use of few custom built pacakges..
    take a look @
    http://www.trustice.com/java/jnireg/
    NOTE: as it is JNI Specific it only supported by all MS WINDOWS Operating Systems which uses registry as their standard repository to store System info.
    Hope this might be of some help... :)
    REGARDS,
    RaHuL

  • How to get a report on Installed Software Updates on client computers.

    Hi, I'm working with a large company who plans to deploy mac's nationwide. ARD is what we will be using for remote management of the cient systems. My question is; how to get a report on Installed Software Updates on client computers.
    Thanks in advance!

    Hi,
    Try this.
    Go to SE16 give table input as T511
    and select OPKEN   / Operation indicator field input as A and execute.
    This will give you output of wage types wich configured for deduction.

  • Anyone know how to get elements 13 to install following download?

    The files download seems to have worked and I can see them in the destination folder on C:/, yet the software isn't activating automatically and Windows 7 doesn't recognize the file extension.  Any idea on how to get around this, without going through the entire download a second time?

    There should be an executable file (.exe) that accompanied the download that you will use to process the zipped file.

  • How to get my macbook to connect to the Apple TV?

    How to get my macbook to connect to the Apple TV in a strange apartment? I am housesitting for someone for a few months. They mentioned that i would be able to use their Apple TV to play stuff from my macbook. I am using their basic wifi in the apt, which works fine on my macbook and iphone, but see no Apple TV icon appearing on macbook screen, nor any connection happening. (nor is there anything connection w my iPhone). What gives? How can I establish a connection?

    See
    http://support.apple.com/kb/ts4215

  • How to get latest record on top of the result list

    Hi Gurus,
    How to get latest record on top of the result list when you open the record.
    saved data method in BT120H_CPL of OverView page and result list in ICCMP_INBOX.
    Regards,
    Ravi

    Hi
    Try sort descending by on fileld "changed at ".
    manipulate the sort depends on your requirement
    Regards
    Logu

  • HT1711 I recently deleted iTunes off my computer by accident, when I reinstalled it I got the new version and I can't figure out how to get my music to store on my iTunes to transfer from my iPhone to iTunes.

    I recently deleted iTunes off my computer by accident, when I reinstalled it I got the new version and I can't figure out how to get my music to store on my iTunes to transfer from my iPhone to my iTunes.  I goal is to get my iPod filled with the music that I have stored on my iPhone and figured the only way to do so is to use iTunes as my transfer hub.  Any suggestions?

    Wow you're kind of a iTunes bully.  Dude the reason I am asking for advice and help is I am completely computer ********.  If I knew the answer I wouldn't be asking.  Anyways.  Question to anyone else. 
    If I have no music on my iTunes at all and no music on my computer, hard drive or any other version of storage yet there is a playlist on my iPhone. While my iPhone is plugged into my PC and my iTunes is up, is there a way to swap my playlist from my iPhone to my iTunes?  Directly?  Without downloading some new media source or backing up my old media source from my history.  The reason everything was deleted (iTunes and media source) was due to the size of everything and space it was requiring.  I am simply trying to get 233 songs from A to B. 
    I have tried magic but it is not working.   
    <Edited By Host>

  • I loos my APPLE ID, I have a new one, how can get access to data stored in the old one?

    I loos my APPLE ID, Now I have a new one, how can get access to data stored in the old one?

    Do you have the email & password of the old Apple ID?

  • My old hard drive crashed and had to get it replaced. How do I reinstall my old library to the new hard rive from my iphone4s so I don't lose my music?

    My old hard drive crashed and had to get it replaced. How do I reinstall my old library to the new hard drive from my iphone4s so I don't lose my music?

    Officially you don't. Your i-device was not designed for unique storage of your media. It is not a backup device and media transfer was planned with you maintaining a master copy of your media on a computer which is itself properly backed up against loss. Syncing is one way, computer to device, updating the device content to the content on the computer, not updating or restoring content on a computer. The exception is iTunes Store purchases which can be transferred to a computer.
    Note: The information below hasn't been updated since early 2013.
    Some of the information below has subsequently appeared in a document by turingtest2: Recovering your iTunes library from your iPod or iOS device - https://discussions.apple.com/docs/DOC-3991
    iTunes Store: Transferring purchases from your iOS device or iPod to a computer - http://support.apple.com/kb/HT1848 - only purchases from iTunes Store
    For transferring other items from an i-device to a computer you will have to use third party commercial software. Examples (check the web for others; this is not an exhaustive listing, nor do I have any idea if they are any good):
    - Expod (free) - http://www.headlightsoft.com/expod/ - Mac, universal for 104.+ (newer machines try de-Tune)
    - deTune (free) - http://www.headlightsoft.com/detune/ - Mac, 10.5+
    - Senuti - http://www.fadingred.com/senuti/
    - Phoneview - http://www.ecamm.com/mac/phoneview/
    - MusicRescue - http://www.kennettnet.co.uk/products/musicrescue/
    - Sharepod (free) - http://download.cnet.com/SharePod/3000-2141_4-10794489.html?tag=mncol;2 - Windows
    - Snowfox/iMedia - http://www.mac-videoconverter.com/imedia-transfer-mac.html - Mac & PC
    - iexplorer (free) - http://www.macroplant.com/iexplorer/ - Mac&PC
    - Yamipod (free) - http://www.yamipod.com/main/modules/downloads/ - PC, Linux, Mac [Still updated for use on newer devices? No edits to site since 2010.]
    - 2010 Post by Zevoneer: iPod media recovery options - https://discussions.apple.com/message/11624224 - this is an older post and many of the links are also for old posts, so bear this in mind when reading them.

  • HT4993 if your screen cracks, can you get a replacement screen installed on the iphone/

    if your screen cracks, can you get a replacement screen installed on the same phone?

    With iPhone 4 Apple will not replace the screen. They will replace the entire iPhone 4. If you want the screen replaced on the same iPhone 4, you have to do it yourself.

  • How to get relationship between two  views in the  reports

    How to get relationship between two  views in the  reports, I am doing a deletion program , it is fully relates to views , how to get relationship between them in the reports

    Hi,
    Please explain your question in detail...what do you want to read ?
    If you want to know about the navigation links between the views then you can use APIs  like
    wdComponentAPI.getComponentInfo().findInWindows("windowName").getViewUsageByID("Name").getNavigationLinks();
    Iterate through the navigationLinkInfo from above collection and can read the other properties .
    I haven't tried the above , but it should work !!!
    Regards,Anilkumar

  • Can anyone explain to how to get rid off restore session on the mozilla firefox it keeps coming up every time i click on mozilla firefox it comes up restore session why is this it is driving me nuts

    can anyone explain to me how to get rid off restore session on the mozilla firefox it keeps coming up every time i click on mozilla firefox it comes up restore session why is this i want to get rid of it it is driving me nuts

    What do you have checked in Firefox Preferences>General?
    Ciao.

Maybe you are looking for

  • Problems restoring IPhoto Library after hard disk crash

    I had a terminal hard disk crash a couple of months ago. The drive was replaced and new (well older) OS was installed. I have since updated to the current versions of the OS and Iphoto to iPhoto'09. My Documents and Pictures folders had been backed-u

  • Printing Stickers in PSE 12

    I am using the template from labelbythesheet.com to make stickers.  When I print a sample on a plain sheet of paper everything comes out perfectly centered.  When I make the circle ring invisible and print on the actual sticker paper the entire sheet

  • [faces] No support for "value" attribute of h:grap

    I'm experimenting with NitroX for JSF and in trying to edit an existing JSF page (one created in Java Studio Creator), I discovered that the NitroX visual designer will not display the image unless the "url" attribute is used for the h:graphicImage t

  • I have buy 120min calling, but I can not use it. W...

    My sister who is in China, has bought 120minutes calling for me. I noticed the delivery was successful, and I could see the order number. But when I was making a call to China, the call stopped immediately. Why? Does anyone know the reason please? Is

  • J2SDK1.4.0 Changes?

    I just installed j2sdk1.4.0 and got a curious error in compiling the examples for the J2EE package. Maybe I'm missing something obvious, but the new javac can't find imported files. For example, j2eetutorial/examples/src/ejb/converter contains Conver