Following on from my problem here
previous issue trying to send java mail via tls/ssl
i am now trying to add ssl debugging in Intellij.
In the oracle article it gives an example
java -Djavax.net.debug=all \
-Djavax.net.ssl.trustStore=trustStore
SSLSocketClientWithClientAuth bongos 2001 /index.html
How do i configure my environment for a standalone application which runs via main() method?
All you need to do is edit your Run Configuration.
Run -> Edit Configurations
And then under the VM options enter the options you want to use. For example
-Djavax.net.debug=all
should be all you need for ssl debugging.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With