2.13 Storing Server Certificates (External CA)

Server certificates should be added to the certificate list by calling NPKICertificateList, then stored by a calling NPKIStoreServerCertificatesFromCertificateList.

  1. NPKICertificateList—using the clear flag to delete all old certificates from the list

  2. NPKICertificateList—call this function for each of the certificates in the certificate chain, using the add flag to add each certificate to the list

  3. NPKICertificateList—using the sort flag to sort the list

  4. NPKIStoreServerCertificatesFromCertificateList—to store the certificate list

For a sample implementation of this task, see StoreServerCerts.