After Nov. 2022, we need to prepare hardware security module (HSM) to get a certificate for code signing and generate private key in HSM.
Current Gradle script requires PCKS#12 pfx format. Now private key is stored in HSM, we can not produce pfx file with it.
We should update Gradle script to use PKCS#11 HSM.
Dev-ML discussion:
https://sourceforge.net/p/omegat/mailman/omegat-development/thread/29693F8C-26C0-44CE-9F65-E2A7D5D68E80%40traduction-libre.org/#msg37834709
From Comodo support page;
https://help.comodosslstore.com/support/solutions/articles/22000280787-code-signing-certificate-delivery-methods
It seems we need to know what HSM token hardware is provided from docmodo to know a proper driver file, if we plan to buy certification from comodo.
Comodo seems provide Gemalto eToken 5110. We can add an example to use it by adding library path. /usr/lib64/libIDPrimePKCS11.so