[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:
TIBCO BusinessConnect
|
-
|
Not Applicable
|
-
|
Description
Resolution:
The following sequence can be followed
1. generating RSA key pairs:
openssl genrsa -out <private_key> -des3 1024
2. creating CSRs:
openssl req -key <private_key> -new -out <csr> -outform PEM
3. signing requests with CA certificate:
openssl x509 -req -in <csr> -CA <ca_cert> -CAkey <ca_key> -out <certificate> -CAcreateserial
-days <#_of_days> -extfile openssl.cnf -extensions usr_cert
4. creating PKCS7 certificate bag:
openssl crl2pkcs7 -nocrl -certfile <cert1> -certfile <cert2 -out <pkcs7_certificate_bag> -outform
DER
5. creating PKCS12 key bag:
openssl pkcs12 -export -in <private_key_and_leaf_cert> -certfile <ca_certs> -out <pkcs12_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
--------------------
Feedback
thumb_up
Yes
thumb_down
No