1; Configuration file for stunnel to create SSL pipe between 2; echo-* programs running in Linux and Zephyr 3 4foreground = yes 5output = /dev/stdout 6syslog = no 7; Debugging level (7 is greatest debugging output) 8;debug = 7 9TIMEOUTconnect = 10 10TIMEOUTclose = 10 11 12; In the settings below the port numbers are set like this: 13; *:4242 - Listen encrypted traffic from Zephyr 14; *:4243 - Listen unencrypted traffic from localhost (client) 15; *:4244 - Send unencrypted traffic to localhost (server) 16 17[echo-client-ipv6] 18accept = 2001:db8::2:4243 19CApath = . 20CAfile = echo-apps-cert.pem 21verifyPeer = yes 22checkHost = localhost 23client = yes 24connect = 2001:db8::1:4242 25 26[echo-client-ipv4] 27accept = 192.0.2.2:4243 28CApath = . 29CAfile = echo-apps-cert.pem 30verifyPeer = yes 31checkHost = localhost 32client = yes 33connect = 192.0.2.1:4242 34 35[echo-server-ipv6] 36accept = 2001:db8::2:4242 37cert = echo-apps-cert.pem 38key = echo-apps-key.pem 39client = no 40connect = 2001:db8::2:4244 41 42[echo-server-ipv4] 43accept = 192.0.2.2:4242 44cert = echo-apps-cert.pem 45key = echo-apps-key.pem 46client = no 47connect = 192.0.2.2:4244 48