SSL error

Post Reply
htin
Posts: 14
Joined: Wed Aug 07, 2019 9:01 am

SSL error

Post by htin » Mon Aug 12, 2019 4:32 am

Hi I am trying to test SSL connection demo and getting the following error
Exception: System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.

I believe it is caused by selfsigned cert. any workaround to override this.

thanks
alt
Site Admin
Posts: 985
Joined: Tue Apr 25, 2006 9:45 am

Re: SSL error

Post by alt » Tue Aug 13, 2019 6:04 am

please make sure that SmppServer and SmppClient classes have the same value in EnabledSslProtocols property.
f.i.
EnabledSslProtocols = SslProtocols.Default;

if it doesn't help please try to install self signed certificate to Trusted Root Certification Authorities of your system.
developerlearn999
Posts: 85
Joined: Thu Jun 20, 2019 9:34 am

Re: SSL error

Post by developerlearn999 » Tue Aug 13, 2019 9:24 am

do you use inetlab as client too?
if you use client based on java 8 there is an issue there using the certificate.
Post Reply