DSS JAVA SAMPLES and KeyStore

oranjsr
oranjsr Newcomer
DSS JAVA SAMPLES and KeyStore

Best Answer

  • Jirapongse
    Jirapongse ✭✭✭✭✭
    Answer ✓

    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.

Answers