Open Famicoman opened 7 years ago
@Famicoman Did you were able to solve your question? I'm facing the same problem.
@vigri Unfortunately no, unless the maintainer gets back to this thread I have given up in using this project.
can you add ini sample ?
Same comment as https://github.com/xperseguers/ocsp-responder/issues/1
Would appear that it just needs 'basedir' (the full path do the storage root directory) and the ini file should be in the format needed by parse_ini_file. It is passed into StoreFS which calls the setBasedir function. The ini file doesn't appear to be used anywhere else in the code.
So the ini file should just contain
basedir = "/path/to/my/data/store"
The constructor accepts an array so its possible initialize the class like this if you don't want mess with an ini file:
$store = new \OCSPServer\StoreFS(['baseDir' => '...path to your store...']);
or set the base directory explicitly:
$store = new \OCSPServer\StoreFS([]);
$store->setBasedir( '...path to your store...' );
I wanted to play around with this, but there doesn't seem to be any OCSPServer.inI sample for configuration.