This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 87363 - missing info in Using Custom Keystore for the Liberty Token Profile
Summary: missing info in Using Custom Keystore for the Liberty Token Profile
Status: RESOLVED DUPLICATE of bug 85848
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Identity (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Annette Wegscheider
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-17 18:08 UTC by Peter Liu
Modified: 2006-10-17 18:27 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Liu 2006-10-17 18:08:53 UTC
The missing info is as follow:

1. The online help fails to mention that the user needs to cut and paste the
listed certificate value starting with "---BEGIN CERTIFICATE----" and ending with
"----END CERTIFICATE----" into the file.  Without this step, the save
certificate has the wrong format.

Note that there is a better way to do this.  Instead of using the -list command,
we can use the -export command.  For example,

keytool -export -keystore keystore.jks -alias amserver -rfc -file server.cer

This will automatically save the certificate in the server.cer file with the
correct format.  I suggest that this is what we tell the user to do instead of
doing cut and paste.

2. The online help fails to mention what the password for the ksystore under the
amflatfiledir is which is "secret". Without this password, importing the
client.cer into the keystore will fail with a NPE.
Comment 1 Srividhya Narayanan 2006-10-17 18:27:11 UTC

*** This issue has been marked as a duplicate of 85848 ***