Maven — Restrict HTTP S/TLS protocol versions

CAUTION: Use for strictly debugging purposes. Older versions of HTTPS/TLS are not secure, and that is exactly why they have been disabled by default.

Anyway here’s the setting

# Chat with the devil:
-Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2
# Additional portals to hell:
-Dmaven.wagon.http.ssl.insecure=true
-Dmaven.wagon.http.ssl.allowall=true
# Shortest path to hell
-Dmaven.wagon.http.ssl.ignore.validity.dates=true

Cheers!

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

No responses yet

Write a response