[Asterisk-java-users] Fwd: Trying to Log in Astmanproxy SSL
Brought to you by:
srt
From: Sebastian G. <sc...@gm...> - 2012-12-26 16:48:02
|
now I´m seeing this: Terminating reader thread: Unrecognized SSL message, plaintext connection? anyone was able to implement this?? thanks Begin forwarded message: > From: Sebastian Gutierrez <sc...@gm...> > Subject: Trying to Log in Astmanproxy SSL > Date: December 18, 2012 3:08:06 PM GMT-02:00 > To: "ast...@li..." <ast...@li...> > > Hi, > > > I´m trying to change my connection from plain text to SSL, connection to Astmanproxy like this, > > I changed the ManagerConnectionFactory factory = new ManagerConnectionFactory(Config.AsteriskIP, Config.AsteriskPort, Config.Agent, Config.Secret); > managerConnection = factory.createSecureManagerConnection(); > > to have an SSL conecction, using the default astmanproxy certificate > > and I can see: > > > 2012-12-18 02:56:36.766 - [14] - [ManagerConnectionImpl.connect] - [INFO] - Connecting to 192.168.99.249:4530 > 2012-12-18 02:56:38.477 - [19] - [ManagerReaderImpl.run] - [INFO] - Terminating reader thread: Remote host closed connection during handshake > 2012-12-18 02:56:39.004 - [14] - [ManagerConnectionImpl.disconnect] - [INFO] - Closing socket. > 2012-12-18 02:56:39.009 - [14] - [AstConnection.login] - [SEVERE] - javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake > > Java Result: 255 > > > On astmanproxy debug: Dec 18 14:55:49: is_encrypted: 0 > > > any idea??? > > > > thanks > > best regards. > |