Import CA Certificate with Notes Api

I’d like to import CA certificate via Notes API or via LotusScript into Notes Client.Can someone help me?

Otherwise, is there a tool to do this in command line ?

Thanks

Subject: Import CA Certificate with Notes Api

If the CA is an ancestor of one of one of the leaf certs stored in the ID file, then you can import it into the ID file along with the rest of the chain, via any of the existing import mechanisms.

If the CA isn’t an ancestor of one of one of the leaf certs stored in the ID file, then it doesn’t belong in the ID file, it belongs in the directory. You can import certificates from a pkcs12 file into the directory by opening the relevant record and selecting the Actions/Import Internet Certificates menu option.

Only information about the user is stored in the ID file – information about everyone else is stored in the directory.

Hope that helps,

dave

Subject: I have the same request but this is not possible with the current published APIs…

but it would make a LOT of sense.

there is

STATUS LNPUBLIC PKCS12_ImportFileToIDFile(
char *pPKCS12Filename,
char *pPKCS12Filepassword,
char *pIdFilename,
char *pIdFilepassword,
DWORD ImportFlags,
DWORD ReservedFlags,
void *pReserved);

and

STATUS LNPUBLIC PKCS12_ExportIDFileToFile(
char *pIdFilename,
char *pIdFilepassword,
char *pPKCS12Filename,
char *pPKCS12Filepassword,
DWORD ExportFlags,
DWORD ReservedFlags,
void *pReserved);

but nothing that does similar things for public part of the certificate for import to the directory.

(nsh)