SSLHandshakeException

Antworten
jsn3751
Beiträge: 3
Registriert: 07 Jan 2013, 19:54

SSLHandshakeException

Beitrag von jsn3751 »

I'm using the supplied VM for my OPSI server. When I run opsi-configed directly from the server desktop and supply my credentials I get the following error:

No Connection
javax.net.sll.SSLHandshakeException: Remote host closed connection during handshake

Going to https://<opsi-server>:4447/configed in my web browser doesn't work either.

Any suggestions? Thanks.
Benutzeravatar
tobias
Beiträge: 1294
Registriert: 20 Aug 2008, 12:36
Wohnort: Braunschweig
Kontaktdaten:

Re: SSLHandshakeException

Beitrag von tobias »

try to generate a new SSL cert via this command:

dpkg-reconfigure opsiconfd


you must fill out all fields for the certificate.


but maybe there is a bug in this version because in the german subforum other people have the same problem.
jsn3751
Beiträge: 3
Registriert: 07 Jan 2013, 19:54

Re: SSLHandshakeException

Beitrag von jsn3751 »

tobias hat geschrieben:try to generate a new SSL cert via this command:

dpkg-reconfigure opsiconfd


you must fill out all fields for the certificate.


but maybe there is a bug in this version because in the german subforum other people have the same problem.
I generated a new certificate and filled out all fields, but I'm getting the same error.

Does anyone have a workaround?
Benutzeravatar
tobias
Beiträge: 1294
Registriert: 20 Aug 2008, 12:36
Wohnort: Braunschweig
Kontaktdaten:

Re: SSLHandshakeException

Beitrag von tobias »

try to generate a certificate manually and copy it to /etc/opsi/

openssl req -new -x509 -days 10000 -nodes -out opsiconfd.pem -keyout opsiconfd.pem


I do not know whether the format is correct. But try it ;)
jsn3751
Beiträge: 3
Registriert: 07 Jan 2013, 19:54

Re: SSLHandshakeException

Beitrag von jsn3751 »

tobias hat geschrieben:try to generate a certificate manually and copy it to /etc/opsi/

openssl req -new -x509 -days 10000 -nodes -out opsiconfd.pem -keyout opsiconfd.pem


I do not know whether the format is correct. But try it ;)
That worked! Thanks.
Benutzeravatar
d.oertel
uib-Team
Beiträge: 3327
Registriert: 04 Jun 2008, 14:27

Re: SSLHandshakeException

Beitrag von d.oertel »

Hi,

you must delet your /etc/opsi/opsiconfd.pem before you execute
dpkg-reconfigure opsiconfd

regards

d.oertel


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


hvenegaard
Beiträge: 1
Registriert: 22 Jul 2013, 08:40

Re: SSLHandshakeException

Beitrag von hvenegaard »

Thanks for this, it works now.
d.oertel hat geschrieben:Hi,

you must delet your /etc/opsi/opsiconfd.pem before you execute
dpkg-reconfigure opsiconfd

regards

d.oertel
Antworten