title: Importing SSL certificate not working on a server that does not have internet access
body: <p>So I'm trying to import a SSL certificate from one windows machine to another windows machine within the same network. Neither of these servers have outside internet access. I've tried downloading the certificate from the target server through IE and importing it, and I've also tried importing the certificate manually (I have a copy of it directly from the target server). The certificate is from COMODO and COMODO is listed as a trusted provider. It's like the imported certificate just isn't being picked up.</p>
  
  <p>The steps I follow to import:</p>
  
  <ol>
  <li>Double-click the .cer file and Install Certificate</li>
  <li>In the wizard, choose the store as the Local Computer folder under Trusted Root Certificate Authorities.</li>
  <li>Restart IIS/Restart computer (this was listed as possibly being needed in another post)</li>
  </ol>
  
  <p>Now when I point my browser to the target URL I still get the security prompt saying "There is a problem with this website's security certificate. The security certificate presented by this website was not issued by a trusted certificate authority." and it makes me select "Continue to this website (not recommended)." in order to continue.</p>
  
  <p>When I try to connect with a .net application to the same target URL, I get this error "System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure."</p>
  
  <p>Now, from my local PC that's within the network but also has internet access, I can import the certificate just fine. I can point my browser to the target URL and I do not get the security warning, and I can run the .net app from my local pc without issue either. Can there be a problem with the servers not having updated lists of trusted providers? Any ideas?</p>
  
  <p>Thanks!</p>