Return Certificate Signing Request(CSR) contents

Add support to return the CSR data from the file created by
GenerateCSR request.

CSRRead class implements CSR interface. InternalFailure
exception is thrown to the caller if CSR file does not exist
or for any read errors.

Change-Id: I20ddeb9570962bf04917c1b0e3a52c8f34f5efcd
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
4 files changed
tree: 8e753b0eb31fcf8223462beca96e4aca342fd7d4
  1. test/
  2. .clang-format
  3. .gitignore
  4. argument.cpp
  5. argument.hpp
  6. bootstrap.sh
  7. certificate.cpp
  8. certificate.hpp
  9. certs_manager.cpp
  10. certs_manager.hpp
  11. configure.ac
  12. csr.cpp
  13. csr.hpp
  14. LICENSE
  15. mainapp.cpp
  16. MAINTAINERS
  17. Makefile.am
  18. 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`.