Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to set Java truststore path and type in Stata’s inbuilt Java

    Hello,

    I’m working with Stata’s inbuilt Java and need to configure the truststore settings so that Java can use a specific truststore file.

    In regular Java, I would typically set something like:

    -Djavax.net.ssl.trustStore=/path/to/truststore.jks -Djavax.net.ssl.trustStoreType=JKS
    However, I can’t find clear documentation on how to specify the truststore path and truststore type within Stata’s Java integration.
    • Is there a way to pass these system properties to Stata’s inbuilt Java?
    • If so, what is the correct syntax or command in Stata?
    • Do I need to set this before loading Java, or can it be done at runtime?
    Any guidance or example code would be greatly appreciated.

    Thanks in advance!
Working...
X