Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Analyse ssl error with gradle (-Djavax.net.debug=ssl seems not to be respected)

Tags:

ssl

gradle

I wan't to investigate a SSL error happening when resolving a maven-dependency. In my naivety, I thought this will do the trick.

export GRADLE_OPTS=-Djavax.net.debug=ssl

But it doesn't. There is no SSL output at all. Also appending

--debug

Does not help. How can I turn on the SSL log then?

like image 778
guenhter Avatar asked Feb 07 '18 17:02

guenhter


People also ask

How do I enable SSL debug in Jboss?

The SSL Debugging can be enabled by adding following to the JVM startup option : -Djavax. net. debug=all.


1 Answers

Try creating a file gradle.properties in the project root folder with the contents

org.gradle.jvmargs=-Djavax.net.debug=ssl
like image 175
rexford Avatar answered Sep 18 '22 13:09

rexford