I have a .NET application that connects to a remote server over SSL. In test environment the remote server uses a self-signed certificate. By default, the SSL connection fails. If I install the certificate into Trusted Root Certification Authorities store, the connection succeeds.
However, since it is now a trusted certification authority, this certificate can be used to sign certificates for any other site, and applications on my computer, such as Internet Explorer, will trust those. I want this certificate to be trusted to authenticate a specific web site, but not trusted as a certification authority. Is there any way to do so?