I think there’s an issue with the certificates, because we see in the server log the message “peer suddenly disconnected”. To verify, please post the client log too. 

You can also try setting verify=0 just to see if it connects.

As I told you before, you should not be forcing TLSv1, because that protocol is now obsolete and insecure.


Saludos
Jose



On Jul 4, 2018, at 1:30 AM, Avinash Kumar <avinash14331@gmail.com> wrote:


Regards,
Avinash Kumar

---------- Forwarded message ----------
From: Avinash Kumar <avinash14331@gmail.com>
Date: Wed, Jul 4, 2018 at 11:59 AM
Subject: Re: [stunnel-users] stunnel-users Digest, Vol 168, Issue 2
To: "Jose Alf." <josealf@rocketmail.com>


Hi,

I commented sslVersion but still getting the same issue. Please find below my configuration details for both client and server:
Server conf:
<image.png>


Client Conf:

<image.png>
 


Regards,
Avinash Kumar

On Tue, Jul 3, 2018 at 6:26 PM, Jose Alf. <josealf@rocketmail.com> wrote:
Kumar,

Probably you are trying to connect to a server that dos not allow TLs v1.0m a protocol that has been deprecated. Please Comment out the sslVersion line and try again.

regards,

Jose



On Tuesday, July 3, 2018, 6:37:53 AM GMT-5, Avinash Kumar <avinash14331@gmail.com> wrote:


Hi,
 
As requested, Posting my configuration.
[https-App-setup] client = yes accept  = 9898 connect = <<source-ipaddress>>:9898 cert = <<stunnel-installationdirectory>>\config\App\morpheus.pem key = <<stunnel-installationdirectory>>\config\App\morpheus.key CAfile = <<stunnel-installationdirectory>>\config\App\root-ca.pem sslVersion = TLSv1 options = NO_SSLv3 


Regards,
Avinash Kumar

On Tue, Jul 3, 2018 at 3:30 PM, <stunnel-users-request@stunnel.org> wrote:
Send stunnel-users mailing list submissions to
        stunnel-users@stunnel.org

To subscribe or unsubscribe via the World Wide Web, visit
        https://www.stunnel.org/cgi- bin/mailman/listinfo/stunnel- users
or, via email, send a message with subject or body 'help' to
        stunnel-users-request@stunnel. org

You can reach the person managing the list at
        stunnel-users-owner@stunnel. org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of stunnel-users digest..."


Today's Topics:

   1. Re: Stunnel Issue (Flo Rance)


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

Message: 1
Date: Tue, 3 Jul 2018 11:18:03 +0200
From: Flo Rance <trourance@gmail.com>
To: Avinash Kumar <avinash14331@gmail.com>
Cc: stunnel-users@stunnel.org
Subject: Re: [stunnel-users] Stunnel Issue
Message-ID:
        <CAHogYcUn6BzfBr75X- DuteetppESv2KOjGJmGO7mc=SuHVaE Xw@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Please post your configuration. Without that, it's not obvious.

Regards,
Flo

On Tue, Jul 3, 2018 at 10:42 AM, Avinash Kumar <avinash14331@gmail.com>
wrote:

> Attaching the screenshot
>
> Regards,
> Avinash Kumar
>
> On Tue, Jul 3, 2018 at 2:11 PM, Avinash Kumar <avinash14331@gmail.com>
> wrote:
>
>> Hi,
>>
>> I am getting below error while connecting through stunnel:
>>
>>
>>
>> Regards,
>> Avinash Kumar
>>
>
>
> ______________________________ _________________
> stunnel-users mailing list
> stunnel-users@stunnel.org
> https://www.stunnel.org/cgi- bin/mailman/listinfo/stunnel- users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.stunnel.org/ pipermail/stunnel-users/ attachments/20180703/fc447f44/ attachment-0001.html>

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

Subject: Digest Footer

______________________________ _________________
stunnel-users mailing list
stunnel-users@stunnel.org
https://www.stunnel.org/cgi- bin/mailman/listinfo/stunnel- users


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

End of stunnel-users Digest, Vol 168, Issue 2
****************************** ***************

_______________________________________________
stunnel-users mailing list
stunnel-users@stunnel.org
https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users


_______________________________________________
stunnel-users mailing list
stunnel-users@stunnel.org
https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users