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.
Thanks in advance!
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?
Thanks in advance!