Export Privatekey with JAVA keytool on tomcat server

Posted on 2011-05-11
Last Modified: 2012-05-11
Hi all,

I'm trying to export my privatekey from my tomcat server using keytool. If I use the following command;

C:\Program Files\AhsayOBS and AhsayRPS\java\bin>keytool -export -alias tomcat -file c:\back01.crt -keystore "C:\Program Files\AhsayOBS and AhsayRPS\conf\keystore"

I do get "back01.crt" but when I try to import it in my ISA Server it states that the private key is missing. Is there a way to export the certificate with private key?


Question by:xiss
    LVL 47

    Expert Comment

    LVL 86

    Accepted Solution

    LVL 92

    Expert Comment

    LVL 1

    Author Closing Comment

    Thanks I used portecle-1.5 that works flawelessly!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
    Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
    Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
    Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now