The self signed bidirectional authentication code using SSL/TLS has been debugged successfully on Windows, but has not passed on Linux. Error: Error while authenticating One or more errors occurred (One or more errors occurred. (The decryption operation failed, see inner exception.))

Please provide some correct solutions