[This KA was unapproved and obsolete when migrated.] How to create p7b and p12, certificate and key files outside of BC, for example using Openssl?.

[This KA was unapproved and obsolete when migrated.] How to create p7b and p12, certificate and key files outside of BC, for example using Openssl?.

book

Article ID: KB0091706

calendar_today

Updated On:

Products Versions
TIBCO BusinessConnect -
Not Applicable -

Description

Resolution:
The following sequence can be followed

1. generating RSA key pairs:
openssl genrsa -out &ltprivate_key> -des3 1024

2. creating CSRs:
openssl req -key &ltprivate_key> -new -out &ltcsr> -outform PEM

3. signing requests with CA certificate:
openssl x509 -req -in &ltcsr> -CA &ltca_cert> -CAkey &ltca_key> -out &ltcertificate> -CAcreateserial
-days &lt#_of_days> -extfile openssl.cnf -extensions usr_cert

4. creating PKCS7 certificate bag:
openssl crl2pkcs7 -nocrl -certfile &ltcert1> -certfile &ltcert2 -out &ltpkcs7_certificate_bag> -outform
DER

5. creating PKCS12 key bag:
openssl pkcs12 -export -in &ltprivate_key_and_leaf_cert> -certfile &ltca_certs> -out &ltpkcs12_bag>

for more details on openssl commands, pl. refer to http://www.openssl.org

Issue/Introduction

[This KA was unapproved and obsolete when migrated.] How to create p7b and p12, certificate and key files outside of BC, for example using Openssl?.

Environment

Product: TIBCO BusinessConnect Version: 3.0.0 OS: All --------------------