Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
A call to SSPI failed, see inner exception.
sumesh np
Mar 12 2015 7:31 AM
2.4k
Reply
Hi,
There is an exception when connecting to Epp Server, "A call to SSPI failed, see inner exception."
public void Connect()
{
var client = new TcpClient(EPP_REGISTRY_COM, PORT);
stream = new SslStream(client.GetStream(), false, ValidateServerCertificate)
{
ReadTimeout = READ_TIMEOUT,
WriteTimeout = WRITE_TIMEOUT
};
if (clientCertificate != null)
{
var clientCertificates = new X509CertificateCollection {clientCertificate};
stream.AuthenticateAsClient(EPP_REGISTRY_COM, clientCertificates, SslProtocols.Tls, false);
}
else
{
stream.AuthenticateAsClient(EPP_REGISTRY_COM);
}
}
How to solve this ?
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
compare of images in database
indent selected paragraph where cursor is present