Using wget produces "ERROR: The certificate of `www.java.net' is not trusted."

If one calls
wget http://www.java.net/download/jdk8/archive/b129/binaries/jdk-8-fcs-bin-b129-linux-x64-07_feb_2014.tar.gz
you might get

--2014-02-27 04:53:29--  http://www.java.net/download/jdk8/archive/b129/binaries/jdk-8-fcs-bin-b129-linux-x64-07_feb_2014.tar.gz
Resolving www.java.net (www.java.net)... 209.189.227.38
Connecting to www.java.net (www.java.net)|209.189.227.38|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://www.java.net/download/jdk8/archive/b129/binaries/jdk-8-fcs-bin-b129-linux-x64-07_feb_2014.tar.gz [following]
--2014-02-27 04:53:29--  https://www.java.net/download/jdk8/archive/b129/binaries/jdk-8-fcs-bin-b129-linux-x64-07_feb_2014.tar.gz
Connecting to www.java.net (www.java.net)|209.189.227.38|:443... connected.
ERROR: The certificate of `www.java.net' is not trusted.
ERROR: The certificate of `www.java.net' hasn't got a known issuer.


so append the --no-check-certificate parameter to wget when executing this command,  and call it like

wget http://www.java.net/download/jdk8/archive/b129/binaries/jdk-8-fcs-bin-b129-linux-x64-07_feb_2014.tar.gz --no-check-certificate

Comments

Popular posts from this blog

Apple's evaluating a new JVM

Tuning ext4 for performance with emphasis on SSD usage