Need to add custom certificate "MycustomCert.pem"
trusted list in Mozilla Firefox certificate store. How can I modify the trusted Certificate list in Mozilla Certificate store ?
Sample code of getting windows ROOT
certificate store. Instead of root need to get the access of Mozilla Certificate to HCERTSTORE
data structure
int main()
{
HCERTSTORE hRootStore;
hRootStore = CertOpenStore(CERT_STORE_PROV_SYSTEM, 0, 0, CERT_STORE_OPEN_EXISTING_FLAG | CERT_SYSTEM_STORE_LOCAL_MACHINE, L"ROOT");
if (!hRootStore)
return 1;
CertCloseStore(hRootStore, 0);
return 0;
}
give alternative methods are other than using certutils.exe