I am on Windows 11 pro with LibreOffice 26.2, and I am struggling for 2 days now trying to digitally sign a LibreOffice Calc file.
I have created a self-signed root crt and imported it successfully in the windows’ certification store.
Then I have created a leaf .p12 certificate from it an also imported it.
All certificates are created on my ubuntu 24 lts linux server.
I have done this 3 times with the help of ChatGPT and google AI and both says my certificates are ok.
If I create or open a .ods file and go to File - Digital Signatures - Digital Signatures … and click on ‘Sign Document…’ the dialog shows me my code signing certificate and I can select it.
But, if I then click on ‘Sign’ the dialog box quickly refreshes and the ‘Sign’ button becomes greyed out and the document remains unsigned.
I have tried various suggestions from ChatGPT and googleAI like lowering the certificate security to 2048 bits or to a legacy encryption, but no success.
Process explorer gave me no hint about what is going on and I can’t find any debugging mechanism which shows me, why libreoffice doesn’t sign the document.