Answer the question
In order to leave comments, you need to log in
How to make Apache Ant ignore SSL checks when downloading a file via get?
When I try to save a file from github, I get an error:
javax.net.ssl.SSLProtocolException: handshake alert: unrecognized_name
<target name="lib">
<get src="https://github.com/claus/as3swf/raw/master/bin/as3swf.swc" dest="lib/as3swf.swc"/>
</target>
Answer the question
In order to leave comments, you need to log in
In Java 7, SNI is enabled by default. In some cases this results in an error like yours. You can disable SNI when starting Ant or IDEA.-Djsse.enableSNIExtension=false
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question