| Summary | This article clarifies what a Java Private Key file is and how to create it for using it in secure Orbix Java applications. |
|---|---|
| Environment |
Orbix 3.3 All Supported Operating Systems |
| Question/Problem Description |
Java Private Key Files and secure Orbix Java applications. What is a Java Private Key file? How to create a Java Private Key file for secure Orbix Java applications. |
| Clarifying Information |
An Orbix Java application that needs to use certificates must be able to access its private key in a special encrypted format. E.g. the Orbix 3.3 Naming Service is a secure Orbix 3.3 Java application which needs the private key file to be available in this encrypted format. |
| Error Message | |
| Defect/Enhancement Number | |
| Cause | |
| Resolution |
To create the private key file for an authenticated Orbix Java application, run the OrbixSSL utility keyenc on the unencrypted private key file output by OpenSSL, for example: keyenc privkey.pem privkey.jpk <password> The password in the above command is a pass phrase that encodes the private key. If you have a PEM file containing both the certificate and the private key, e.g. called orbix.pem, you need to first decrypt this certificate using the following command: openssl rsa -in orbix.pem -out privkey.pem And then use the keyenc utility as above: keyenc privkey.pem privkey.jpk <password> |
| Workaround | |
| Notes |
For further details, please see the "OrbixSSL Java Programmer’s and Administrator’s Guide" available at http://supportline.microfocus.com/productdoc.aspx |
| Attachment |
#Orbix
#Orbix3
#KnowledgeDocs