Seite 1 von 1

SSLHandshakeException

Verfasst: 07 Jan 2013, 20:00
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.

Re: SSLHandshakeException

Verfasst: 07 Jan 2013, 21:30
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.

Re: SSLHandshakeException

Verfasst: 07 Jan 2013, 21:37
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?

Re: SSLHandshakeException

Verfasst: 07 Jan 2013, 21:52
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 ;)

Re: SSLHandshakeException

Verfasst: 07 Jan 2013, 21:59
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.

Re: SSLHandshakeException

Verfasst: 08 Jan 2013, 12:53
von d.oertel
Hi,

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

regards

d.oertel

Re: SSLHandshakeException

Verfasst: 22 Jul 2013, 08:45
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