Replies: 17 comments 1 reply
|
Hello, Yes it seems the Github actions generates an invalid binary, I will take a look. Compiling should however work. |
|
Can you try with the new version? |
|
I tried, no change, sorry. BTW ocsp-server -V reports 0.7.0 even with new version |
|
I tried, no change, sorry.
No output at all when I run ocsp-server config.toml
If I make an error in config file I get output
BTW ocsp-server -V reports 0.7.0 even with new version
…On 20/05/2026 19:42, Guilhem wrote:
*DorianCoding* left a comment (DorianCoding/OCSP-server#24)
<#24 (comment)>
Can you try with the new version?
—
Reply to this email directly, view it on GitHub
<#24 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AECOISDWFV35GKPHN4K6CBL43XU77AVCNFSM6AAAAACZFCTSU6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DKMBQHE4TQMJVGE>.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
|
Have you installed |
|
To use sqlite ? no |
The binary compiles all features such as mysql and requires the library. If you want only one feature you need to compile with this specific feature and the library won't be needed. |
|
well I tried even with a mysql database and starting the server as a ubuntu (WSL) service but if still fails to start... thinking of giving up ;-) |
|
Try with this binary: https://github.com/DorianCoding/OCSP-server/releases/download/v0.7.1/ocsp-server Type ldd also to check required libraries and if they are present. |
|
Thanks a lot, I tried it. ldd was reporting a unknown library libmariadb so I installed libmariadb-dev but it still doesn't start at all, very frustrating, I must be missing something... |
|
OK I succeeded to launch it ! I had a wrong password in mysql in my config file. sorry for this. |
|
findings:
|
|
additionnally : certnum must be lowercase |
|
the problematic cert is serial 0x3d. openssl ocsp -CAfile tls_ca_bundle.crt -issuer tls_ca.crt -serial 0x3d -url http://127.0.0.1:9000
WARNING: no nonce in response
Response verify OK
0x3d: unknown
This Update: May 25 07:53:00 2026 GMT
Next Update: May 28 07:53:00 2026 GMT
and in db sqlite3 /var/ocsp/tls_certs.db SQLite version 3.45.1 2024-01-30 16:01:20 Enter ".help" for usage hints. sqlite> select * from custom_certs where cert_num = '0x3d'; 0x3d||unspecified|Valid |
|
OK problem solved, it was the cache kicking in with a stale answer as I tested this cert before with a capitalized version of cert_num in the database (0x3D was not found). |
|
Also I would very much be able to use this for several issuers (as I have a CA with some sub-CAs).
background : I'm looking to replace openca-ocspd which FreeBSD port I am maintaining as upstream seems mostly dead and also as the complexity of the underlying libpki is really overkill |
|
I add a feature for sqlite instead of keeping it by default.
I can investigate the two last points. Regarding the first one, I think it is a dependancy requirement.
Yes there is a cache that you can disable on the config.
Yes I will think of it. However we need also to implement multiple itkeys and certificate as files and change the database while keeping backward-compatibility. |
Uh oh!
There was an error while loading. Please reload this page.
Hello I'm trying to test the server with SQLite, but it silently exits without any message. Is there a way to know what is wrong (config file ?)
I tested it with the provided binary (ubuntu) and with a self compiled server on freebsd, no joy and same symptoms
Any clue ?
All reactions