About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
Troubleshooting
Problem
This document describes how to create a certificate in PASE OpenSSL.
Resolving The Problem
Openssl is an open source utility that comes shipped with 5733SC1 Option 1 OpenSSH, OpenSSL, zlib and can be used in the PASE environment to be a key management store.
To generate a self-signed certificate on the IBM i using OpenSSL, you should follow the steps below:
Step 1: Enter the PASE environment by issuing the command CALL QP2TERM
Step 2: Generate a private key with the command openssl genrsa -des3 -out server.key 1024
Step 3: Generate a Certificate Signing Request with the command openssl req -new -key server.key -out server.csr
Step 4: Remove Passphrase from Key with the command cp server.key server.key.org followed by openssl rsa -in server.key.org -out server.key
Step 5: Generate the Self-Signed Certificate with the command openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt
The last optional command is to convert the certificate to a PKCS12 format with the command openssl pkcs12 -export -out exported.pfx -inkey server.key -in server.crt
[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"6.1.0"}]
Historical Number
587068437
Was this topic helpful?
Document Information
Modified date:
18 December 2019
UID
nas8N1011770
Manage My Notification Subscriptions