This is really 2 topics in one.
- Generating a certificate
- Signing a module
Signing a module is relatively straightforward with the tool the IA provides.
Certificates have more to do with security than Ignition. You might want to consult other documentation such as the following:
Hope this helps!