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.
Since ME 8.1 there is a possibility to export a certificate to a device and bind it to specific security client. Keystore Manager>Export Key dialog should support this feature. This is similar to old (before NB 8.0) functionality when exported certificate was bound to security domain. So, following should be done in Export Key dialog: 1. Check if binding exported certificate to security client is supported. In case if it is not supported the dialog should work in the same way as in NB 8.0 This check can be performed by running mekeytool.exe without parameters, parse its output and looking for "-clients" string there. 2. If check in the previous step completed succesfully ("-clients" string was found), the new combo box to select security client should be shown (similar to combo box in NetBeans before 8.0 release). Note, that it is possible to export certificate unbound to a security client, in this case the certificate is treated as shared. This case should be also covered (e.g., by additional checkbox that enables/disables the security client combobox, or by special addtional item in the combobox). To export certificate with selected security client to device or to list certificates in devices with selected security client, additional "-client <name>" option of mekeytool.exe should be used. In case of no security client is selected "-client" option must not be used. Other command line arguments of mekeytool.exe are the same as used in NB8.0 The list of available security clients can be obtained by "meykeytool.exe -clients" command. The nightly builds of MESDK 8.1 that supports this functionality can be found at usual place.
implemented in jet-main: http://hg.netbeans.org/jet-main/rev/ec29f85aaaad
Integrated into 'main-silver', will be available in build *201408170001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/ec29f85aaaad User: Roman Svitanic <rsvitanic@netbeans.org> Log: #246417: Keystore Manager: support export certificates with binding to a security client - fixed
Verified on latest nightly. Everything is almost OK. However, one thing how to be fixed: shared client is named as "Shared" in UI. This will be a problem if device contains real client with the name "Shared". Please, rename shared client in UI to something like "<Shared>" since < and > characters cannot be used in real client names.
Please, also, make <Shared> client to be first in the client combo box.
fixed in jet-main: http://hg.netbeans.org/jet-main/rev/4c6e1b41e4db
Alexander, can you verify this issue before the end of this week and change status to VERIFIED?
There is no build with last changes related to this RFE yet. Last successful build was on Sep 1 when last changes were committed on Sep 4.
Verified on "jet-main" build #886.
Integrated into 'main-silver', will be available in build *201409130001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/4c6e1b41e4db User: Roman Svitanic <rsvitanic@netbeans.org> Log: Minor fixes to issue #246417 - J2ME Keystore manager support for security clients
Transplanted into release801 branch.
Integrated into 'releases/release801', will be available in build *201409171118* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/71e153a1f50f User: Roman Svitanic <rsvitanic@netbeans.org> Log: #246417: Keystore Manager: support export certificates with binding to a security client - fixed
Verified by applying update to NB 8.0.1 release.