Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8310003

Improve logging when default truststore is inaccessible

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 8u341, 22
    • security-libs
    • any

      If the truststore is unavailable, JDK does not log information for 'trustStore provider is:'

      javax.net.ssl|FINE|01|main|2023-05-18 11:19:54.215 IST|TrustStoreManager.java:161|Inaccessible trust store: /Library/Java/JavaVirtualMachines/jdk-1.8.jdk/Contents/Home/jre/lib/security/jssecacerts

      javax.net.ssl|FINE|01|main|2023-05-18 11:19:54.216 IST|TrustStoreManager.java:112|trustStore is:

      trustStore type is: jks

      trustStore provider is:

      the last modified time is: Thu Jan 01 01:00:00 IST 1970

      javax.net.ssl|FINE|01|main|2023-05-18 11:19:54.216 IST|TrustStoreManager.java:311|Reload the trust store

      javax.net.ssl|FINE|01|main|2023-05-18 11:19:54.216 IST|TrustStoreManager.java:343|No available key store

      javax.net.ssl|FINE|01|main|2023-05-18 11:19:54.216 IST|TrustStoreManager.java:318|Reload trust certs

      javax.net.ssl|FINE|01|main|2023-05-18 11:19:54.217 IST|TrustStoreManager.java:323|Reloaded 0 trust certs

      javax.net.ssl|FINE|01|main|2023-05-18 11:19:54.217 IST|X509TrustManagerImpl.java:78|adding as trusted certificates


      Expected behaviour :
      'trustStore provider is: Not found' something like this

            Unassigned Unassigned
            rkale Raghu Kale
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: