We’re using windows 2008 R2 servers and we need to backup the file to the other server whenever a file gets uploaded.
Unfortunately, the client requires that there would be no file/directory sharing between servers via LAN so we are trying to do this via WCF calling another WCF. But now we’re having problem calling the other WCF since they’re hosted on SSL-secured website.
Calling the WCF via silverlight works.
Questions:
1) What might be causing the SSL/TLS error when the WCF calls the other but everything works fine for the silverlight calling the WCF?
code:
public FileUpload(FileUploadClass file)
{
// store locally
...
// call the other wcf
if (!fileIsExisting)
{
ServiceRefClient svcClient = new ServiceRefClient();
svcClient.FileUploadClass(file)
}
}
2) Any other way to backup the file to the other server securely apart from using WCF and Database (I’m trying database now but hopefully there is a prettier way to do this)? File/Directory/Drive sharing via local network is prohibited.
Since dealing with security issues are often tough and time consuming, I decided to store the file as binaries to the database and load it from the 2nd server instead.
Impersonation works but that’s really more of bypassing the securities.