For a deeper look into our DataScope Select REST API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
13 2 3 6

DSS JAVA SAMPLES and KeyStore

dss-rest-apidatascope-selectdss
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

@Oran
Thank you for your participation in the forum. Are any of the replies below satisfactory in resolving your query? If yes please click the 'Accept' text next to the reply that best answers your question. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.
Thanks,
-AHS

C:\Program Files\Java\jre1.8.0_171\lib\security\cacerts

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,


AHS

Upvotes
Accepted
78.8k 250 52 74

I have used C:\Program Files\Java\jdk1.8.0_131\jre\lib\security\cacerts and can run the Java example properly.

The issuer of hosted.datascopeapi.reuters.com is "CN=DigiCert SHA2 Secure Server CA, O=DigiCert Inc, C=US".

*** Certificate chain
chain [0] = [
[
  Version: V3
  Subject: CN=hosted.datascopeapi.reuters.com, O=Thomson Reuters, L=Eagan, ST=Minnesota, C=US
  Signature Algorithm: SHA256withRSA, OID = 1.2.840.113549.1.1.11
...
  public exponent: 65537
  Validity: [From: Fri Mar 02 07:00:00 ICT 2018,
               To: Fri Nov 01 19:00:00 ICT 2019]
  Issuer: CN=DigiCert SHA2 Secure Server CA, O=DigiCert Inc, C=US
  SerialNumber: [    023fc926 b2413d4f e1db3080 eeba72e6]

You can run the example with this JVM option: -Djavax.net.debug=all:handshake:verbose to verify the certificate chain.

If the application run through a proxy, you need to add a proxy certificate to the key store.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
24.6k 54 17 14

Hello @oranjsr

You can follow the Building a keystore file to be used with an HTTPS (or ENCRYPTED) connection type for real-time Java-based APIs article to create a keystore file for your Java application.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.