Skip to content

Commit b59b9e0

Browse files
authored
Merge pull request #88 from mahendya1002/future
readme fix
2 parents 194c6fc + 93a4e85 commit b59b9e0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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
```

samples/xml/src/main/java/com/cybersource/sample/RunSample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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);

0 commit comments

Comments
 (0)