MCPcopy Create free account
hub / github.com/Icinga/icinga2 / NewCert

Method NewCert

lib/remote/pkiutility.cpp:46–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46int PkiUtility::NewCert(const String& cn, const String& keyfile, const String& csrfile, const String& certfile)
47{
48 try {
49 MakeX509CSR(cn, keyfile, csrfile, certfile);
50 } catch(std::exception&) {
51 return 1;
52 }
53
54 return 0;
55}
56
57int PkiUtility::SignCsr(const String& csrfile, const String& certfile)
58{

Callers

nothing calls this directly

Calls 1

MakeX509CSRFunction · 0.85

Tested by

no test coverage detected