0 votes
by (470 points)

Hi team!

After create my CRL file I can import it to the right STORE just right-clicking on it and selecting "Import the Revocation List".

Is there a way to import it by code with no obligation of defining a folder within the STORE? I mean, act like the above and let the Windows to define the best place to put the CRL?

Thanks a lot!

1 Answer

0 votes
by (144k points)
selected by
Best answer

Hi, this functionality is not provided by Rebex libraries or .NET Framework. However, it looks like it's possible with a some P/Invokes. Please refer to Programmatically install Certificate Revocation List (CRL) on StackOverflow.

Another option is to use the certtool command line utility.

by (470 points)
Thank you very much Lukas.