std::string serialPath;
std::string crlPrefix;
std::string crtPrefix;
+std::string ocspPath;
std::shared_ptr<std::unordered_map<std::string, std::string>> parseConf( std::string path ) {
auto map = std::make_shared<std::unordered_map<std::string, std::string>>();
crlPrefix = masterConf->at( "crlPrefix" );
crtPrefix = masterConf->at( "crtPrefix" );
+ auto ocspPathEntry = masterConf->find( "ocsp.path" );
+
+ if( ocspPathEntry == masterConf->end() ) {
+ ocspPath = "";
+ } else {
+ ocspPath = ocspPathEntry->second;
+ }
+
if( keyDir == "" ) {
logger::error( "Missing config property key.directory" );
return -1;