Page 1 of 1

SSL error

Posted: Mon Aug 12, 2019 4:32 am
by htin
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

Re: SSL error

Posted: Tue Aug 13, 2019 6:04 am
by alt
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.

Re: SSL error

Posted: Tue Aug 13, 2019 9:24 am
by developerlearn999
do you use inetlab as client too?
if you use client based on java 8 there is an issue there using the certificate.