Accessing Windows Certificate Store certs via Java?

前端 未结 4 1857
再見小時候
再見小時候 2020-12-09 18:46

I\'m looking to write something that can enumerate and use (to sign) certificates in CurrentUser/My and LocalMachine/My, but I haven\'t been able to find anything for the Wi

4条回答
  •  悲哀的现实
    2020-12-09 19:32

    Start Java with -Djavax.net.ssl.trustStoreType=WINDOWS-ROOT.

    See https://www.oracle.com/technical-resources/articles/javase/security.html for more information.

提交回复
热议问题