Maven — Restrict HTTP S/TLS protocol versions
Jul 1, 2022
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!