OPSI configed lässt sich nicht öffnen!

Antworten
islam
Beiträge: 106
Registriert: 19 Okt 2011, 12:08

OPSI configed lässt sich nicht öffnen!

Beitrag von islam »

Bild

Die OPSI Java Applet lässt sich im Web-Browser nicht mehr öffnen.
Die Meldung deutet auf ein abgelaufenes Zertifikat.
java.security.cert.CertPathValidatorException:Response is unreliable: its validity interval is out-of-date
Benutzeravatar
SisterOfMercy
Beiträge: 1556
Registriert: 22 Jun 2012, 19:18

Re: OPSI configed lässt sich nicht öffnen!

Beitrag von SisterOfMercy »

Please try to update your opsi-server. There has been an update, released about a week ago. Something to do with a out of date certificate in configed.

You could also try to put the url to your opsi server on the exception list. Control Panel -> Java -> Security -> edit site list. (Sorry, these are windows instructions only)

Or create your own certificate for configed and import that certificate in the java trustedcerts database.
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
islam
Beiträge: 106
Registriert: 19 Okt 2011, 12:08

Re: OPSI configed lässt sich nicht öffnen!

Beitrag von islam »

Thanks for the fast reply. Can you describe in detail how to do the last part you mentioned
Or create your own certificate for configed and import that certificate in the java trustedcerts database.
Thanks
Benutzeravatar
SisterOfMercy
Beiträge: 1556
Registriert: 22 Jun 2012, 19:18

Re: OPSI configed lässt sich nicht öffnen!

Beitrag von SisterOfMercy »

First step, create a certificate. I can't help you much with that, because I used the cacert.org services. That way I only have to import the root certificates of cacert.org. But for a single certificate it will probably work the same way.

Edit /etc/opsi/opsiconfd.conf, and especially these ones:

Code: Alles auswählen

ssl server cert = /etc/opsi/yourcert.pem
ssl server key = /etc/opsi/yourcert.pem
If you don't have certificate in .pem format you might have to convert it, but a lot of sites on the internet tell you how to do that. Maybe OPSI also knows other formats, I don't know about this, I'm not really experienced with this, but at least it works.

Also look here for the entry I created on the opsi wiki a while ago: wiki/userspace:java_runtime

Code: Alles auswählen

; Install cacert.org root certificates in java keystore
"%ProgramFiles64Dir%\Java\jre7\bin\keytool.exe" -noprompt -import -alias cacert-root -keystore "%ProgramFiles64Dir%\Java\jre7\lib\security\cacerts" -trustcacerts -file "%ScriptPath%\files\cacert.org-root.der" -storepass "changeit"
"%ProgramFiles64Dir%\Java\jre7\bin\keytool.exe" -noprompt -import -alias cacert-class3 -keystore "%ProgramFiles64Dir%\Java\jre7\lib\security\cacerts" -trustcacerts -file "%ScriptPath%\files\cacert.org-class3.der" -storepass "changeit"
You could rewrite this as:

Code: Alles auswählen

; Install yourcert certificate in java keystore
"%ProgramFiles64Dir%\Java\jre7\bin\keytool.exe" -noprompt -import -alias yourcert -keystore "%ProgramFiles64Dir%\Java\jre7\lib\security\cacerts" -trustcacerts -file "%ScriptPath%\files\yourcert.der" -storepass "changeit"
Again, you have to find out yourself how to convert the certificate to a .der type, and it probably can be any format, .pem will probably also work, I'm not sure. I only change the certificate once so often :D
But, you might get a bit further with this.

However, have you tried updating your opsi server?
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
Benutzeravatar
ueluekmen
uib-Team
Beiträge: 1940
Registriert: 28 Mai 2008, 10:53

Re: OPSI configed lässt sich nicht öffnen!

Beitrag von ueluekmen »

Hallo,

bitte checke mal ob dein opsiconfd-Zertifikat nicht vielleicht abgelaufen ist. Diese Meldung ist eigentlich die Vorstufe für die eigentliche Jar-Sign-Validation. Die Meldung sieht eher so aus, als wenn dein opsiconfd-Zertifkat abgelaufen wäre.

Der configed im Stable Bereich ist nun wieder gültig Signiert und sollte auch signiert bleiben, selbst wenn das Zertifikat mit welchem signiert wurde ausläuft.


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


islam
Beiträge: 106
Registriert: 19 Okt 2011, 12:08

Re: OPSI configed lässt sich nicht öffnen!

Beitrag von islam »

However, have you tried updating your opsi server?
I was not able to update the Server, because it had certificate problem updating from the opensuse repository,
which could be resolved by running this command found in opsi docs.

Code: Alles auswählen

wget -O - http://download.opensuse.org/repositories/home:/uibmz:/opsi:/opsi40/Debian_7.0/Release.key | apt-key add -
Afterwards the update worked and all is fine again.

Thanks a lot
Antworten