Nuget Command Line and Bootstrapper not working in offline enviroment (without internet connection)

Topics: General
Jun 6, 2013 at 9:37 AM
Edited Jun 6, 2013 at 9:48 AM
We have an offline enviroment with no internet access (Bank) and we're working with Nuget local server on one of our servers.
We need to create a package and store it in our local feed.
We can't run the Nuget.exe command line since we get the following error:
"Unhandled Exception: System.Net.WebException: System.Net.WebException: The remote name could not be resolved: ''"

and another exception we get on another server when running Nuget.exe is:
"The remote certificate is invalid according to the validation procedure"

Our Q. is how do we set the command line and bootstrapper to work with a local server of nuget and make it work in an offline enviroment without a connection to internet?