File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
samples/xml/src/main/java/com/cybersource/sample Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ Unix or Linux: runSample.sh <service_name>
112112- To convert the p12 file to JKS follow the steps mentioned below.
113113 - These commands will take out all the certs from the p12 file.
114114 1 . ` openssl pkcs12 -in <Merchant_ID>.p12 -nocerts -out <Merchant_ID>.key `
115- 2 . ` openssl pkcs12 -in <Merchant_ID>.p12 -cacerts -nokeys -out <Merchant_ID>.crt `
115+ 2 . ` openssl pkcs12 -in <Merchant_ID>.p12 -clcerts -nokeys -out <Merchant_ID>.crt `
116116 3 . ` openssl pkcs12 -in <Merchant_ID>.p12 -cacerts -nokeys -out CyberSourceCertAuth.crt `
117117 4 . ` openssl pkcs12 -in <Merchant_ID>.p12 -cacerts -nokeys -out CyberSource_SJC_US.crt `
118118
@@ -123,11 +123,11 @@ openssl pkcs12 -export -certfile CyberSourceCertAuth.crt -in <Merchant_ID>.crt -
123123
124124- Create JKS from p12 using keytool
125125```
126- keytool -importkeystore -destkeystore <Your_keystore_name> -deststorepass <your_password> -srckeystore identity.p12 -srcstoretype PKCS12 -srcstorepass <Merchant_ID>`
126+ keytool -importkeystore -destkeystore <Your_keystore_name> -deststorepass <your_password> -srckeystore identity.p12 -srcstoretype PKCS12 -srcstorepass <Merchant_ID>
127127```
128128- Now import the CyberSource_SJC_US.crt to your keystore
129129```
130- keytool -importcert -trustcacerts -file CyberSource_SJC_US.crt -alias CyberSource_SJC_US -keystore <Your_keystore_name>.jks`
130+ keytool -importcert -trustcacerts -file CyberSource_SJC_US.crt -alias CyberSource_SJC_US -keystore <Your_keystore_name>.jks
131131```
132132- List the entries of your keystore
133133```
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ public static void main(String[] args) {
9090
9191 case 4 :
9292 authReply = runAuth (props , "auth" );
93- if (authReply =null )
93+ if (authReply == null )
9494 break ;
9595 requestID = getRequestID (authReply );
9696 decision = getDecisonCode (authReply );
You can’t perform that action at this time.
0 commit comments