Hi All,

 

                I did not find anything about RYU and self-signed certificate 
in the doc or in google except for a patch that was made in 2012. I was 
wondering is it supported? Or I have misconfigured my setup?

 

                When I start RYU I pass the following (here are my start 
command) :

nfdso        7     1  0 14:26 ?        00:00:03 /usr/bin/python3 
/usr/local/bin/ryu-manager --ctl-privkey 
/opt/dso-cgnatmapper/cert/ctl-privkey.pem --ctl-cert 
/opt/dso-cgnatmapper/cert/ctl-cert.pem --ca-certs 
/opt/dso-cgnatmapper/cert/mycertificate.pem --verbose cgnat.core 
nfdso.compat.json_bytes

 

                Here the error I got :

 

2019-05-01 15:30:04,797 49011cf4fe36 ryu.lib.hub ERROR hub: uncaught exception: 
Traceback (most recent call last):

  File "/usr/local/lib/python3.5/dist-packages/ryu/lib/hub.py", line 60, in 
_launch

    return func(*args, **kwargs)

  File "/usr/local/lib/python3.5/dist-packages/ryu/lib/hub.py", line 142, in 
wrap_and_handle

    handle(ssl.wrap_socket(sock, **ssl_args), addr)

  File "/usr/local/lib/python3.5/dist-packages/eventlet/green/ssl.py", line 
369, in wrap_socket

    return GreenSSLSocket(sock, *a, **kw)

  File "/usr/local/lib/python3.5/dist-packages/eventlet/green/ssl.py", line 64, 
in __init__

    ca_certs, do_handshake_on_connect and six.PY2, *args, **kw)

  File "/usr/lib/python3.5/ssl.py", line 680, in __init__

    raise ValueError("certfile must be specified for server-side "

ValueError: certfile must be specified for server-side operations

 

Googling the error, it seems related to self-signed certificate.

 

Thanks in advance.

 

Yann Bourdeau , M. Ing.

Senior Software Developer 

yann.bourd...@noviflow.com

 

_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to