Add Certificate verification support

Call X509_verify_cert to perform the following validations:
      o Check trust settings on the root CA
      o Validity of the certificate chain by
        enabling (X509_V_ERR_CERT_HAS_EXPIRED).
    For details of the verification, refer:
    https://www.openssl.org/docs/manmaster/man1/verify.html

Change-Id: I5fcde5d34658e7b483de2715831107509f31b531
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
4 files changed
tree: 11e4bf7eb668b106c2053a5d121d028d3897d3d8
  1. test/
  2. .clang-format
  3. .gitignore
  4. argument.cpp
  5. argument.hpp
  6. bootstrap.sh
  7. certs_manager.cpp
  8. certs_manager.hpp
  9. configure.ac
  10. LICENSE
  11. mainapp.cpp
  12. Makefile.am
  13. README.md
README.md

phosphor-certificate-manager

Certificate management allows to replace the existing certificate and private key file with another (possibly CA signed) Certificate key file. Certificate management allows the user to install both the server and client certificates.

To Build

To build this package, do the following steps:

    1. ./bootstrap.sh
    2. ./configure ${CONFIGURE_FLAGS}
    3. make

To clean the repository run `./bootstrap.sh clean`.