Hi, All
When we try to start stunnel(stunnel 5.67, wolfSSL5.6.4 on linux), there is an error randomly happened like following, anybody knows why this happen and how to fix this?
Thanks
May 9 09:09:01 [ ] Initializing inetd mode configuration
May 9 09:09:01 [ ] Clients allowed=500
May 9 09:09:01 [.] stunnel 5.67 on arm-oe-linux-gnueabi platform
May 9 09:09:01 [.] Compiled/running with wolfSSL 5.6.4
May 9 09:09:01 [.] Threading:PTHREAD Sockets:POLL,IPv6,SYSTEMD TLS:OCSP,PSK,SNI
May 9 09:09:01 [ ] errno: (*__errno_location ())
May 9 09:09:01 [ ] Initializing inetd mode configuration
May 9 09:09:01 [.] Reading configuration from file /opt/config/stunnel.conf
May 9 09:09:01 [.] UTF-8 byte order mark not detected
May 9 09:09:01 [ ] No PRNG seeding was required
May 9 09:09:01 [ ] Initializing service [xxxHost]
May 9 09:09:01 [ ] stunnel default security level set: 2
May 9 09:09:01 [ ] Ciphers: TLS_AES_256_GCM_SHA384
May 9 09:09:01 [ ] TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256
May 9 09:09:01 [ ] TLS options: 0x4D474C4C003000 (+0x0, -0x0)
May 9 09:09:01 [ ] Session resumption enabled
May 9 09:09:01 [ ] Loading certificate from file: ./config/client.pem
May 9 09:09:01 [ ] Certificate loaded from file: ./config/client.pem
May 9 09:09:01 [ ] Loading private key from file: ./config/client.key
May 9 09:09:01 [:] Insecure file permissions on ./config/client.key
May 9 09:09:01 [ ] Private key loaded from file: ./config/client.key
May 9 09:09:01 [ ] Private key check succeeded
May 9 09:09:01 [!] SSL_CTX_load_verify_locations: Peer suddenly disconnected
May 9 09:09:01 [!] Service [xxxHost]: Failed to initialize TLS context
May 9 09:09:01 [!] Configuration failed
May 9 09:09:01 [ ] Deallocating temporary section defaults
May 9 09:09:01 [ ] Deallocating section [xxxHost]