[Bug 1202673] [NEW] apt-get --no-check-certificate does not work

dogmatic69 1202673 at bugs.launchpad.net
Thu Jul 18 13:17:57 UTC 2013


Public bug reported:

Trying to install Java from a ppa get the following:

Setting up oracle-java7-installer (7u3-0~eugenesan~oneiric4) ...
Downloading...
--2013-07-18 14:04:33--  http://download.oracle.com/otn-pub/java/jdk/7u3-b04/jdk-7u3-linux-x64.tar.gz
Resolving download.oracle.com... 46.33.69.33, 46.33.69.43
Connecting to download.oracle.com|46.33.69.33|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://edelivery.oracle.com/otn-pub/java/jdk/7u3-b04/jdk-7u3-linux-x64.tar.gz [following]
--2013-07-18 14:04:34--  https://edelivery.oracle.com/otn-pub/java/jdk/7u3-b04/jdk-7u3-linux-x64.tar.gz
Resolving edelivery.oracle.com... 23.67.6.140
Connecting to edelivery.oracle.com|23.67.6.140|:443... connected.
ERROR: certificate common name `www.oracle.com' doesn't match requested host name `edelivery.oracle.com'.
To connect to edelivery.oracle.com insecurely, use `--no-check-certificate'.
download failed
Oracle JDK 7 is NOT installed.
dpkg: error processing oracle-java7-installer (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 oracle-java7-installer
E: Sub-process /usr/bin/dpkg returned an error code (1)


The provided workaround does not work

"To connect to edelivery.oracle.com insecurely, use `--no-check-
certificate'."

$ sudo apt-get install oracle-java7-installer --no-check-certificate
E: Command line option --no-check-certificate is not understood


It does not mater where the --no-check-certificate is in the command, also don't see anything in the man pages for this option.

** Affects: software-properties (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: precise

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-properties in Ubuntu.
https://bugs.launchpad.net/bugs/1202673

Title:
  apt-get --no-check-certificate does not work

Status in “software-properties” package in Ubuntu:
  New

Bug description:
  Trying to install Java from a ppa get the following:

  Setting up oracle-java7-installer (7u3-0~eugenesan~oneiric4) ...
  Downloading...
  --2013-07-18 14:04:33--  http://download.oracle.com/otn-pub/java/jdk/7u3-b04/jdk-7u3-linux-x64.tar.gz
  Resolving download.oracle.com... 46.33.69.33, 46.33.69.43
  Connecting to download.oracle.com|46.33.69.33|:80... connected.
  HTTP request sent, awaiting response... 302 Moved Temporarily
  Location: https://edelivery.oracle.com/otn-pub/java/jdk/7u3-b04/jdk-7u3-linux-x64.tar.gz [following]
  --2013-07-18 14:04:34--  https://edelivery.oracle.com/otn-pub/java/jdk/7u3-b04/jdk-7u3-linux-x64.tar.gz
  Resolving edelivery.oracle.com... 23.67.6.140
  Connecting to edelivery.oracle.com|23.67.6.140|:443... connected.
  ERROR: certificate common name `www.oracle.com' doesn't match requested host name `edelivery.oracle.com'.
  To connect to edelivery.oracle.com insecurely, use `--no-check-certificate'.
  download failed
  Oracle JDK 7 is NOT installed.
  dpkg: error processing oracle-java7-installer (--configure):
   subprocess installed post-installation script returned error exit status 1
  Errors were encountered while processing:
   oracle-java7-installer
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  
  The provided workaround does not work

  "To connect to edelivery.oracle.com insecurely, use `--no-check-
  certificate'."

  $ sudo apt-get install oracle-java7-installer --no-check-certificate
  E: Command line option --no-check-certificate is not understood

  
  It does not mater where the --no-check-certificate is in the command, also don't see anything in the man pages for this option.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1202673/+subscriptions




More information about the foundations-bugs mailing list