ForgeRock / ForgeRock-OpenBanking-Sample

ForgeRock Open Banking Sample code. Examples to help you discovering the Open Banking standard
25 stars 39 forks source link

Issue while importing pem keystore #11

Open dhanajik opened 4 years ago

dhanajik commented 4 years ago

I have ran Make file script but getting below error while running 'make step2 '. Please check it and let me whats going wrong.

Thank you

keytool -import -trustcacerts -noprompt -alias transport-Zm16mY0SfbzPBTqqmTz9hS -file "tpp/transport-Zm16mY0SfbzPBTqqmTz9hS.pem" -keystore "tpp/keystore.p12" -storepass changeit keytool error: java.lang.Exception: Failed to establish chain from reply make: *** [import-tpp-request-pem] Error 1

dhanajik commented 4 years ago

Please help me to sort out this or provide the alternative way.

benjefferies commented 4 years ago

Hi @dhanajik it's been a while since we've maintained this project so I'll take a look and see if there is a bug or provide instructions on how to resolve this

dhanajik commented 4 years ago

Thank you very much

dhanajik commented 4 years ago

Also I am very new to Openbanking, any help/guideline will much appriciated.

Thank you in advance

D

benjefferies commented 4 years ago

Sure I'd recommend

dhanajik commented 4 years ago

Nice talking to Ben and it very helpful, thank you Ben

downloading CAs from https://openbanking.atlassian.net/wiki/spaces/DZ/pages/252018873/OB+Root+and+Issuing+Certificates+for+Sandbox openssl x509 -inform der -in ~/Downloads/OB_SandBox_PP_Root\ CA.cer -out ob_root.pem openssl x509 -inform der -in ~/Downloads/OB_SandBox_PP_Issuing\ CA.cer -out ob_issuing.pem then we’ll need to create the chain cat ob_root.pem ob_issuing.pem transport-Zm16mY0*****mTz9hS.pem > transport.pem