[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: Calling REST API from Progress Client

Status
Not open for further replies.
A

Anil Kumar

Guest
Hi Anandknr, >> Could you help me to understand the steps to import those licences? I guess you were referring to importing certificates. Following are steps to import the cert file into OpenEdge environment. We import these certificates using certutil utility For any OpenEdge client (ABL) to talk to any of the external domains which is configured with SSL (HTTPS), then we need to load those certificates into OpenEdge via certutl -import. This operation needs to be performed via proenv . Once we import those certificates into OpenEdge, then OpenEdge creates an alias name for specific certificate and is kept inside $DLC/certs directory. Whenever an ABL client tries to interact with specific domain then ABL client will look for the availability of specific certificate in the $DLC/certs directory. proenv>certutil -import In your example, we need to import complete certificate chain of ‘api.worldbank.org’ Once you have the .crt file downloaded from ‘api.worldbank.org’ then load those certs using proenv as below: This would then generate a new .crt file in your OpenEdge installation directory ($DLC/cert) with name ‘d6325660.0’ At this point, we have successfully imported respective certificates into OpenEdge environment. Now, try running the ABL program from PDS OE and it should result in following output. --------------------------- Information (Press HELP to view stack trace) --------------------------- 200 OK --------------------------- OK Help --------------------------- --------------------------- Information (Press HELP to view stack trace) --------------------------- [{"page":1,"pages":7,"per_page":"50","total":304},[{"id":"ABW","iso2Code":"AW","name":"Aruba","region":{"id":"LCN","value":"Latin America & Caribbean "},"adminregion":{"id":"","value":""},"incomeLevel --------------------------- OK Help --------------------------- Regarding your issue with the ServerNameIndicator attribute, can you check if you can see that in the Class Browser ? In Developer Studio click on ‘Ctrl+F12’ and it should open Class Browser which will list all classes and its attributes as below: Thanks and Regards, Anil Kumar

Continue reading...
 
Status
Not open for further replies.
Top