Resume downloading certificates
Hi,
I tried to use the "Resume downloading certificates" feature as seen into the bottom of the config.sample.yaml but for now, I fail to see any ct_index.json file created.
I tried few different locations, (where the daemon should have write permissions) but I don't see any evidence of the feature working on my setup.
I searched some additional informations into the readme and the wiki but did not found something about this feature.
( the wiki/Configuration page does not mention those yaml keys either)
Is there any logs that should popup at daemon start that could help me debug what could be my issue ?
thank's !
Is there any logs that should popup at daemon start that could help me debug what could be my issue ?
The log should read something like this:
2025/09/30 01:40:08 logmetrics.go:171: Specified CT index file does not exist: 'path/to/certstream-server-go/ct_index.json'
2025/09/30 01:40:08 logmetrics.go:172: Creating CT index file now!
The config looks like this:
general:
recovery:
enabled: true
ct_index_file: "./ct_index.json"
I searched some additional informations into the readme and the wiki but did not found something about this feature.
Yea, I should definitely update the wiki. Did you check the sample config? It kinda serves as a sort of lightweight documentation.
Hi @d-Rickyy-b
Did you check the sample config?
yes, as mentionned in my initial post, that's where I noticed that option does exists ;)
The log should read something like this:
Ok thx. I see nothing like that in the log at start.. Mmmm..
Not sure if something like Config: Recovery not enabled should appear in case it is not seen as enabled for whatever reason ? (If not, it may be useful to have a summary of all detected/not detected config options) in case of possible typo set in config etc..
Btw, I'm running certstream-server-go v1.8.1.
I may check in which release it's been added to possibly try a previous version...
And will also try for other debugs attempts
Hi @d-Rickyy-b
Just tested again with:
$ wget https://github.com/d-Rickyy-b/certstream-server-go/releases/download/v1.8.1/certstream-server-go_1.8.1_linux_amd64
$ +x certstream-server-go_1.8.1_linux_amd64
$ ./certstream-server-go_1.8.1_linux_amd64 --version
certstream-server-go v1.8.1
$ wget https://raw.githubusercontent.com/d-Rickyy-b/certstream-server-go/refs/heads/master/config.sample.yaml
$ ./certstream-server-go_1.8.1_linux_amd64 -config config.sample.yaml
2025/10/01 14:19:30 main.go:24: Starting certstream-server-go v1.8.1
2025/10/01 14:19:30 config.go:63: Reading config file 'config.sample.yaml'...
2025/10/01 14:19:30 config.go:112: File '/xxxx/xxxx/config.sample.yaml' exists
2025/10/01 14:19:30 certstream.go:57: Starting prometheus ...
...
But still there, I don't see anything like Specified CT index ... (and no created file ./ct_index.json)
Btw also no trace of logmetrics.go in output
In case you have some ideas where I can test further ?
Btw, I'm running
certstream-server-go v1.8.1. I may check in which release it's been added to possibly try a previous version...
Ahh, damn. I thought you were running the master branch. The changes have not been pushed into a release. See changes since last release (1.8.1): https://github.com/d-Rickyy-b/certstream-server-go/compare/v1.8.1...HEAD
Ohhhh ok. Thank's. Will probably wait for the release.