I've created a self-signed certificate by referring to this link, now I got a .cer file which I ll install to my local machine root, using certmgr.exe. But I'd like to install this certificate programmatically.
Language to be used :C.
Compiler am using : MINGW
It should Support all versions of windows.
And I couldn't find the proper API for the same, It would be helpful if I get any Tips??