EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Manage certificates on remote server?

Also by EldoS: Solid File System
A virtual file system that offers a feature-rich storage for application documents and data with built-in compression and encryption.
#28636
Posted: 02/28/2014 12:50:03
by Jeremy Running (Basic support level)
Joined: 02/28/2014
Posts: 3

I'm interested in configuring my C# application to use SecureBlackBox to remotely configure certificates on another server on the network. Is this something that is possible?

Would it just be a matter of changing the configuration of the TelWinCertStorage object? CRYPT32 allows you to prefix the server name (\\Server\Store) when you open a store, is there an equivalent in SecureBlackBox?
#28637
Posted: 02/28/2014 16:42:51
by Ken Ivanov (EldoS Corp.)

Hello Jeremy,

Thank you for contacting us.

Yes, TElWinCertStorage works in exactly the same way:

Code
// remote access is only possible for local machine copy of the store
store.AccessType = TSBStorageAccessType.atLocalMachine;

// adding the needed store to the list
try
{
    store.SystemStores.Add(@"\\SERVER\ROOT");
}
catch(Exception)
{
    // reporting the error and exiting
    // ...
}

// accessing the certificates
// ...


Ken
#28638
Posted: 02/28/2014 17:56:38
by Jeremy Running (Basic support level)
Joined: 02/28/2014
Posts: 3

Thank you for your reply Ken. I implemented this solution, but when I run the following code:
Code
TElWinCertStorage caStorage = new TElWinCertStorage();
caStorage.SystemStores.Add(@"\\SERVER\CA")

I am receiving a SBCustomCertStorage.EElCertStorageError with the message "Failed to open storage". The same error occurs when opening "\\SERVER\ROOT". Are there other options I need to set?
#28639
Posted: 02/28/2014 18:30:07
by Jeremy Running (Basic support level)
Joined: 02/28/2014
Posts: 3

Okay, got this issue working by enabling the "Remote Registry" service on the remote server and starting it manually.
#28640
Posted: 03/01/2014 01:09:28
by Ken Ivanov (EldoS Corp.)

Hello Jeremy,

Great, thank you for letting us know about the receipt.

Remember that you also have to set AccessType to TSBStorageAccessType.atLocalMachine, as there is no way to access remote 'current user' copy of a store.
Also by EldoS: CallbackProcess
A component to control process creation and termination in Windows and .NET applications.

Reply

Statistics

Topic viewed 843 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!