My .NET application will be communicating with a third party server application that is implemnted as web-service over SSL. This application will run from different flavours
If you need to generate CSRs from code and you are using some of .NET languages, use BouncyCastle or our SecureBlackbox. They both support certificate requests in PKCS#10 format. For C++ you can probably use OpenSSL.