ssl handshake error with func.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello.
I am attempting to get func setup on archlinux.
certmaster and funcd  are talking to each other, but when i attempt to 
run  "func lustfcd.lan  hardware list_methods"  i receive  the error

https://lustfcd.lan:51234 running hardware list_methods ()
remote exception on https://lustfcd.lan:51234: [('SSL 
routines', 'SSL3_READ_BYTES', 'sslv3 alert bad certificate'), ('SSL 
routines', 'SSL3_WRITE_BYTES', 'ssl handshake failure')]


Below is a list of the errors recevied and configuration for  both the 
certmaster (supertower.lan)  and minion (lustfcd).
I have tried clearing out the ssl certs, but it always ends up with the same 
error.  Any suggestions on where to go from here?

-james




======================================================================================
Certmaster machine


cat /etc/func/certmaster.conf
[main]
listen_addr =
listen_port = 51235
cadir = /etc/pki/func/ca
certroot = /var/lib/func/certmaster/certs
csrroot = /var/lib/func/certmaster/csrs
autosign = yes

[root@supertower func]# tree /var/lib/func/certmaster/
/var/lib/func/certmaster/
|-- certs
|   `-- lustfcd.lan.cert
`-- csrs

2 directories, 1 file
[root@supertower func]# tree /etc/pki/func/
/etc/pki/func/
`-- ca
    |-- funcmaster.crt
    |-- funcmaster.key
    `-- serial.txt

1 directory, 3 files



func command from certmaster machine.

[root@supertower jams]# func lustfcd.lan  hardware list_methods
on https://lustfcd.lan:51234 running hardware list_methods ()
remote exception on https://lustfcd.lan:51234: [('SSL 
routines', 'SSL3_READ_BYTES', 'sslv3 alert bad certificate'), ('SSL 
routines', 'SSL3_WRITE_BYTES', 'ssl handshake failure')]

-----------------------------

[root@supertower func]# certmaster
serving...



=====================================================================================================
Minion machine  (lustfcd)


cat minion.conf
# configuration for minions

[main]
log_level = DEBUG
certmaster = supertower.lan
cert_dir = /etc/pki/func


[root@Lustfcd func]# funcd
serving...

Could not load virt module: No module named libvirt
----------------------------------------
Exception happened during processing of request from ('192.168.1.112', 57071)
Traceback (most recent call last):
  File "/usr/lib/python2.5/SocketServer.py", line 222, in handle_request
    self.process_request(request, client_address)
  File "/usr/lib/python2.5/SocketServer.py", line 241, in process_request
    self.finish_request(request, client_address)
  File "/usr/lib/python2.5/SocketServer.py", line 254, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python2.5/SocketServer.py", line 522, in __init__
    self.handle()
  File "/usr/lib/python2.5/BaseHTTPServer.py", line 316, in handle
    self.handle_one_request()
  File "/usr/lib/python2.5/BaseHTTPServer.py", line 299, in handle_one_request
    self.raw_requestline = self.rfile.readline()
  File "/usr/lib/python2.5/socket.py", line 346, in readline
    data = self._sock.recv(self._rbufsize)
  File "/usr/lib/python2.5/site-packages/func/SSLConnection.py", line 142, in 
recv
    return con.recv(bufsize, flags)
Error: [('SSL routines', 'SSL3_GET_CLIENT_CERTIFICATE', 'no certificate 
returned')]
----------------------------------------









[Index of Archives]     [Fedora Users]     [Linux Networking]     [Fedora Legacy List]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux