Closed joekutos closed 10 months ago
I wonder if you have other instances of OVS running by accident. Ones that are still trying to do plain TCP connections. OpenSSL might be seeing those as having the "wrong version number" (when in fact they're just not SSL at all).
So I'd try two things: 1) Use a different port number for SSL. Have POX listen on... 6644 or something. And configure OVS to connect to that. 2) Use Wireshark to examine the what's actually happening here. Are there non-SSL connections? Or are they actually SSL but using some version of SSL/TLS that Python doesn't know (seems unlikely)? Or...?
This might also be some Mininet issue that I don't understand, since I don't use Mininet.
I have been trying to set up mininet to work with ssl for multiple switches unfortunately read through the documentation of openvswitch but only provides for working with a single switch. This link provides for setting up and generating self signed certificates. ` net = Mininet(controller=RemoteController)
Starting pox
./pox.py --verbose log.level --DEBUG forwarding.l2_learning openflow.of_01 --private-key=/etc/openvswitch/ctl-privkey.pem --certificate=/etc/openvswitch/ctl-cert.pem`
falling into a number of errors not sure where i am going wrong but
this is my terminal
` WARNING:openflow.of_01:SSL negotiation failed: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:727)
WARNING:openflow.of_01:SSL negotiation failed: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:727)
WARNING:openflow.of_01:SSL negotiation failed: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:727)
WARNING:openflow.of_01:SSL negotiation failed: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:727)
INFO:openflow.of_01:[c2-31-88-4f-a2-4b 1] connected
DEBUG:forwarding.l2_learning:Connection [c2-31-88-4f-a2-4b 1]
^CINFO:core:Going down...
INFO:openflow.of_01:[c2-31-88-4f-a2-4b 1] disconnected `
Maybe i am missing something