Provision SSL from CLI?

Hi there,

Is there a command to initiate the SSL provisioning from CLI after installation/upgrade completes?

This way, it is more secured and easier as nobody needs to check any fingerprints or connect via IP addresses.

Thanks!

Unfortunately, I need to hit the 250 character limit, however, I think my question is clear enough.

You could try to run: sudo ~/mailinabox/management/ssl_certificates.py

Oh, and by the way, if you do indeed check the fingerprint of the self-signed SSL certificate before connecting with your browser, hopefully you also checked the SSH fingerprint before connecting with an SSH client, otherwise you can’t be sure that the CLI you are connecting to is actually that of your own server. :wink:

sudo ~/mailinabox/management/ssl_certificates.py

Thanks, yea, I do actually check the SSH fingerprint :slight_smile:

This should be shown as another option when installation completes, I normally already have my domains pointing to the server.

I think the reason it is done this way is because MiaB is meant to be easy to set up, even for people with little knowledge of DNS, which is also why it comes with an authoritative DNS server, so it can handle the DNS for all your email domains for you.

However, feel free to open an issue or submit a pull request if you think this should be added as an option: GitHub - mail-in-a-box/mailinabox: Mail-in-a-Box helps individuals take back control of their email by defining a one-click, easy-to-deploy SMTP+everything else server: a mail server in a box.

Yea, I have 2 other PRs pending since early 2024

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.