Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] dev-java/icedtea-7.2.2 und app-misc/ca-certificates
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
forrestfunk81
Guru
Guru


Joined: 07 Feb 2006
Posts: 565
Location: münchen.de

PostPosted: Sat Jun 16, 2012 2:14 pm    Post subject: [solved] dev-java/icedtea-7.2.2 und app-misc/ca-certificates Reply with quote

Hallo,

Beim Installieren von Icedtea bekomme ich einen Zertifikatsfehler:
Code:
 *      /var/tmp/portage-ondisk/portage/dev-java/icedtea-7.2.2/image///usr/lib64/icedtea7/jre/bin/tnameserv
 *      /var/tmp/portage-ondisk/portage/dev-java/icedtea-7.2.2/image///usr/lib64/icedtea7/jre/bin/unpack200
 * Generating cacerts file from certificates in /usr/share/ca-certificates/
unable to load certificate
140073389561512:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:696:Expecting: TRUSTED CERTIFICATE
 * ERROR: dev-java/icedtea-7.2.2 failed (install phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  85:  Called src_install
 *   environment, line 5098:  Called die
 * The specific snippet of code:
 *           openssl x509 -text -in "${c}" >> all.crt || die;
 *
 * If you need support, post the output of `emerge --info '=dev-java/icedtea-7.2.2'`,
 * the complete build log and the output of `emerge -pqv '=dev-java/icedtea-7.2.2'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=icedtea-bin-7  CLASSPATH="" JAVA_HOME=""
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info
 * The complete build log is located at '/var/tmp/portage-ondisk/portage/dev-java/icedtea-7.2.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage-ondisk/portage/dev-java/icedtea-7.2.2/temp/environment'.
 * Working directory: '/var/tmp/portage-ondisk/portage/dev-java/icedtea-7.2.2/temp/certgen'
 * S: '/var/tmp/portage-ondisk/portage/dev-java/icedtea-7.2.2/work/icedtea-2.2'


Weiß jemand, woran das liegt?
_________________
# cd /pub/
# more beer


Last edited by forrestfunk81 on Thu Jul 19, 2012 7:33 am; edited 2 times in total
Back to top
View user's profile Send private message
demiurg
Tux's lil' helper
Tux's lil' helper


Joined: 26 Jul 2005
Posts: 108

PostPosted: Wed Jun 27, 2012 8:13 pm    Post subject: Reply with quote

Welche Version von app-misc/ca-certificates ist installiert?
Ergebnis von
eix ca-certificates lautet?

Gruß
_________________
Kernel 6.xx-gentoo
GCC 12.xx
Profile amd64/17.1/desktop/plasma/systemd/merged-usr
Ryzen 5950X
GA X570 PRO BIOS F35
ATI RX6800
Back to top
View user's profile Send private message
forrestfunk81
Guru
Guru


Joined: 07 Feb 2006
Posts: 565
Location: münchen.de

PostPosted: Sat Jul 07, 2012 11:42 am    Post subject: Reply with quote

Es funktioniert weder mit app-misc/ca-certificates-20120212 noch mit app-misc/ca-certificates-20120623
_________________
# cd /pub/
# more beer
Back to top
View user's profile Send private message
demiurg
Tux's lil' helper
Tux's lil' helper


Joined: 26 Jul 2005
Posts: 108

PostPosted: Tue Jul 10, 2012 4:18 am    Post subject: Reply with quote

forrestfunk81 wrote:
Es funktioniert weder mit app-misc/ca-certificates-20120212 noch mit app-misc/ca-certificates-20120623


Ich kann mich entsinnen, dass ich nach der Umstellung der sun-java Lizenz und dem damit verbundenen manuellen Download (jre und jdk) so ca. im Mai den Schritt zu icedtea ausprobiert habe und da auch an der "certificate-Hürde" bei icedtea gescheitert bin. Da ich keine Java Programmierung betreibe, bin ich auf die jeweils stable icedtea-bin ausgewichen, die keine Probleme mit den Zertifikaten hatte.

Ich habe eben mal in meiner Testumgebung einen erfolgreichen Probelauf gehabt. no-multilib CHOST="x86_64-pc-linux-gnu"
bisher nur icedtea-bin-6.1.11.3 installiert mit manuell gesetztem USE-Flag nsplugin

in /etc/portage/portage.keywords
dev-java/icedtea ~amd64
dev-java/icedtea-web ~amd64

nachgetragen

stable ca-certifcates-20111025 waren schon installiert

emerge -pv icedtea hat zusätzlich reingezogen
npapi-sdk-0.27
javatoolkit-0.3.0-r6
lsb-release-1.4
ant-core-1.8.4-r1
ant-nodeps-1.8.4
icedtea-7.2.2.1
icedtea-web-1.2-r7

und ohne Fehler compiliert. Mit den noch maskierten Versionen der ca-certifikates >20111025 habe ich es jetzt nicht getestet.

Gruß
_________________
Kernel 6.xx-gentoo
GCC 12.xx
Profile amd64/17.1/desktop/plasma/systemd/merged-usr
Ryzen 5950X
GA X570 PRO BIOS F35
ATI RX6800
Back to top
View user's profile Send private message
forrestfunk81
Guru
Guru


Joined: 07 Feb 2006
Posts: 565
Location: münchen.de

PostPosted: Mon Jul 16, 2012 7:10 am    Post subject: Reply with quote

Auch mit den von dir angegebenen Versionen funktionierts bei mir nicht. Der Build läuft immer ohne Probleme, aber kurz vor dem Kopieren von den temporären in die Installationspfade kommt dieser Zertifikatsfehler.

Code:
Generating cacerts file from certificates in /usr/share/ca-certificates/
unable to load certificate
140073389561512:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:696:Expecting: TRUSTED CERTIFICATE


Mit der stabilen Version von app-misc/ca-certificates-20111025
Code:
ls -al /usr/share/ca-certificates/
total 64
drwxr-xr-x   9 root root  4096 Jul 12 17:51 .
drwxr-xr-x 432 root root 20480 Jul 12 22:05 ..
drwxr-xr-x   2 root root  4096 Jul 12 17:51 brasil.gov.br
drwxr-xr-x   2 root root  4096 Jul 12 17:51 cacert.org
drwxr-xr-x   2 root root  4096 Jul 12 17:51 debconf.org
drwxr-xr-x   2 root root  4096 Jul 12 17:51 gouv.fr
drwxr-xr-x   2 root root 16384 Jul 12 17:51 mozilla
drwxr-xr-x   2 root root  4096 Jul 12 17:51 signet.pl
drwxr-xr-x   2 root root  4096 Jul 12 17:51 spi-inc.org


openssl hab ich folgende Versionen installiert: 0.9.8x und 1.0.1c

Ich kann ja erstmal bei der binären icedtea Version bleiben. Aber Zertifikatsfehler find ich trotzdem beunruhigend.
_________________
# cd /pub/
# more beer
Back to top
View user's profile Send private message
demiurg
Tux's lil' helper
Tux's lil' helper


Joined: 26 Jul 2005
Posts: 108

PostPosted: Mon Jul 16, 2012 5:54 pm    Post subject: Reply with quote

Bei mir
ls -al /usr/share/ca-certificates/
insgesamt 48
drwxr-xr-x 9 root root 4096 3. Sep 2011 .
drwxr-xr-x 203 root root 4096 8. Jul 04:05 ..
drwxr-xr-x 2 root root 4096 16. Dez 2011 brasil.gov.br
drwxr-xr-x 2 root root 4096 16. Dez 2011 cacert.org
drwxr-xr-x 2 root root 4096 16. Dez 2011 debconf.org
drwxr-xr-x 2 root root 4096 16. Dez 2011 gouv.fr
drwxr-xr-x 2 root root 16384 16. Dez 2011 mozilla
drwxr-xr-x 2 root root 4096 16. Dez 2011 signet.pl
drwxr-xr-x 2 root root 4096 16. Dez 2011 spi-inc.org

und openssl ausschließlich stable 1.0.0j installiert.

vllt. hilft nach Deinstallation der Zertifikate noch ein
rm -r /usr/share/ca-certificates und Kontrolle ob /etc/ca-certificates,conf auch mit der Deinstallation verschwunden ist, ansonsten manuelle Entfernung, mit anschließender Neuinstallation der Zertifikate und die Rückkehr auf openssl-1.0.0j
_________________
Kernel 6.xx-gentoo
GCC 12.xx
Profile amd64/17.1/desktop/plasma/systemd/merged-usr
Ryzen 5950X
GA X570 PRO BIOS F35
ATI RX6800
Back to top
View user's profile Send private message
forrestfunk81
Guru
Guru


Joined: 07 Feb 2006
Posts: 565
Location: münchen.de

PostPosted: Thu Jul 19, 2012 7:31 am    Post subject: Reply with quote

Vielen Dank demiurg,

nach diversen Versuchen funktionierts jetzt. Ausschlaggebend war das manuelle Löschen von /usr/share/ca-certificates/mozilla, welches nach deinstallieren von ca-certificates stehen blieb.

app-misc/ca-certificates-20111025
dev-libs/openssl-1.0.0j
dev-java/icedtea-7.2.2.1
_________________
# cd /pub/
# more beer
Back to top
View user's profile Send private message
demiurg
Tux's lil' helper
Tux's lil' helper


Joined: 26 Jul 2005
Posts: 108

PostPosted: Fri Jul 20, 2012 3:22 pm    Post subject: Reply with quote

Bitte,

darum liebe ich gentoo. Ich kann schon mal in den Tiefen der Dinge schrauben und mit eigenen Experimenten weiterkommen.
Zu guter Letzt gibt es das Forum.

Prost #more beer
_________________
Kernel 6.xx-gentoo
GCC 12.xx
Profile amd64/17.1/desktop/plasma/systemd/merged-usr
Ryzen 5950X
GA X570 PRO BIOS F35
ATI RX6800
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum