Hello everyone,
I’d like to assign SMIME Certificates to Domains via CLI to automate the process.
I’ve read here that I’m supposed to use the commands
java -cp ‘/usr/share/djigzo/lib/’ mitm.application.djigzo.tools.CLITool
java -cp '/usr/share/djigzo/lib/’ mitm.application.djigzo.tools.CertStore
to add domains and and certificates. Afterwards, I guess I have use to another command to assign certificate to the domain.
Could you help me figure out which parameters I have to set to achieve this?
Thanks in advance!
Unfortunately the CLI is limited and domain certificates cannot be configured with the CLI tool.
With the upcoming release, the back-end is now completely configurable with a REST api. The REST api has an extensive authorization module where every action and setting requires a specific permission. The UI has been rebuilt completely. It now uses React. There is now also a fully functional cli (which connects to the back-end using the REST api) which allows you to fully script the gateway. There are lots of other changes and improvements which will be explained in a blog when we release it.
The release is almost ready. It has been in production for some time now. We will need to work on the documentation however.
All code of the community edition can be found in our community gitlab repo:
1 Like
Alright, thanks for the explanation