2

I have tried the solution by googling it. But im not able to find.

Error

Error Code -54 : unable to get local issuer certificate: for 6ae7a2a5.0 in c:\Program Files(86)\OpenEdge_113\cert(9318).

As my understanding 6ae7a2a5.0 is uique id for certificate. But we are not able to find the name of the certificate to install in the server. How to find name of the certificate for 6ae7a2a5.0?

This issue happened after change the URL from http to https and its happening while showing pdf file in IE

Sample Code :

create server hWeb.
hWeb:connect(cWSDL) no-error.
if not hWeb:connected() then
do:
    pcMeddelande = error-status:get-message(1).
    hWeb:disconnect().
    delete object hPortType no-error.
    delete object hWeb no-error.
    return.
end.

Here in cwsdl variable we send "-wsdl -WSDL https://example.com/OnLineService.asmx?wsdl "

We have imported all required certificates for the URL.

Karthikeyan
  • 173
  • 4
  • 18
  • Perhaps you can shed more light on this by adding the url (if it's not internal or a secret), also please provide more information of what you really are doing. Do you use an Acrobat OCX, webview ocx or what is the setup? – Jensd Jan 19 '18 at 09:00

2 Answers2

2

Surf to the address you want to access and download the certificate.

How you do this depends on your browser. In Chrome you open Developer Tools and go to the security tab where you press View Certificate:

enter image description here

Select the certificate and save to file (I have a Swedish Windows installation so it says Kopiera till fil...)

enter image description here

Follow the guide and save the certificate as a DER-encoded file.

enter image description here

Now your need to run certutil in the proenv-environment to import your certificate.

certutil -import <filename>

or

certutil -format DER-import <filename>

Possibly you might have to repeat this for the entire chain of certificates.

The chain can be found in the certificate dialogue you already opened - it has its own tab:

enter image description here

Official instructions found here

This is done more or less the same way in any browser.

Jensd
  • 7,886
  • 2
  • 28
  • 37
0

I had this same problem and I managed to solve by just copying PEM content from certificate and save file with name of the hash. This seems to be a bug of the Progress version, it can't match unique id with URL.

Henry Ecker
  • 34,399
  • 18
  • 41
  • 57