cancel
Showing results for 
Search instead for 
Did you mean: 

"peer not authenticated" in IDT when connecting to https

0 Kudos

I am trying to create an ODATA connection in Information Design Tool (4.1 SP2).

In the Service Root URI, if I use HTTPS, it gives me an error: "peer not authenticated"

I have this issue in both external (like https://api.datamarket.azure.com/data.ashx/data.gov/Crimes/) and internal websites

Any idea how I can fix this?

Accepted Solutions (0)

Answers (1)

Answers (1)

gp9
Explorer
0 Kudos

Hi Nadim,

I know this is an old posting, but did you ever get this issue resolved?

Thanks.

gp9
Explorer
0 Kudos

I got this to work with https by importing the server certificate into the jre (~\\win32_x86\jre) locally where my IDT is running.

former_member261222
Discoverer
0 Kudos

Old posting,... but Gheorghe's reply helped me solve this same issue.

Here are all of the steps:

  • Open the URI address with your browser.
  • Export the ODATA site's certificate to a local file.  (google "export site cert chrome" for how to export a cert)
  • Run following steps via a batch file or command prompt.  RUN AS ADMINISTRATOR.


set drive=C:

set rootdir=C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0

set JREdir=%rootdir%\win32_x86\jre\bin

set SAPJVMdir=%rootdir%\win32_x86\sapjvm\bin

set CERTdir=%JREdir%\certs

set CERT=crimes.gov.cer

set ALIAS=%CERT%

%drive%

CD %JREdir%

keytool -importcert -keystore "%ROOTdir%\win32_x86\jre\lib\security\cacerts" -storepass changeit -alias root -file "%CERTdir%\%CERT%"

pause

CD %SAPJVMdir%

keytool -importcert -keystore "%ROOTdir%\win32_x86\sapjvm\jre\lib\security\cacerts" -storepass changeit -alias root -file "%CERTdir%\%CERT%"

pause