El viernes, 29 de enero de 2016, 14:00:05 (UTC-3), mariomop escribió:
>
>
> Hi, I'm currently using SSL with a self signed certificate. With the GTK
> client everything's fine, but I'm not able to connect from sao.
> In Firefox I tried to load the certificate in Certificates > Authorities,
> and in My certificates, with a pkcs12 file, with no luck. Maybe I'm doing
> something wrong?
> This is what the server shows when I try to login from Firefox
>
> $ trytond -c /etc/trytond.conf -v
> 7307 139974860535552 [2016-01-29 16:08:42,010] INFO trytond.server using
> /etc/trytond.conf as configuration file
> 7307 139974860535552 [2016-01-29 16:08:42,010] INFO trytond.server
> initialising distributed objects services
> 7307 139974860535552 [2016-01-29 16:08:42,027] INFO trytond.server
> starting JSON-RPC SSL protocol on *:8000
> ----------------------------------------
> Exception happened during processing of request from
> ('::ffff:181.88.217.217', 57014, 0, 0)
> Traceback (most recent call last):
> File "/usr/lib/python2.7/SocketServer.py", line 599, in
> process_request_thread
> self.finish_request(request, client_address)
> File "/usr/lib/python2.7/SocketServer.py", line 334, in finish_request
> self.RequestHandlerClass(request, client_address, self)
> File "/usr/lib/python2.7/SocketServer.py", line 653, in __init__
> self.setup()
> File
> "/home/ceiam/.venvs/ceiam-3.0/local/lib/python2.7/site-packages/trytond/protocols/jsonrpc.py",
>
> line 297, in setup
> self.request = SSLSocket(self.request)
> File
> "/home/ceiam/.venvs/ceiam-3.0/local/lib/python2.7/site-packages/trytond/protocols/sslsocket.py",
>
> line 13, in SSLSocket
> ssl_version=ssl.PROTOCOL_SSLv23)
> File "/usr/lib/python2.7/ssl.py", line 891, in wrap_socket
> ciphers=ciphers)
> File "/usr/lib/python2.7/ssl.py", line 566, in __init__
> self.do_handshake()
> File "/usr/lib/python2.7/ssl.py", line 788, in do_handshake
> self._sslobj.do_handshake()
> SSLError: [SSL: HTTP_REQUEST] http request (_ssl.c:581)
> ----------------------------------------
>
> Any hints?
> Regards
>
>
Ok, I forgot to prepend the 's' in https:// to the IP number
Silly mistake.
Thanks
--
You received this message because you are subscribed to the Google Groups
"tryton" group.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tryton/721e8c6b-3b22-4b78-894b-39f1652ea7a7%40googlegroups.com.